November 9, 2009
Java String Concatenation and Performance ~ Joey’s Scribble’s. “The quick and dirty way to concatenate strings in Java is to use the concatenation operator (+). This will yield a reasonable performance if you need to combine two or three strings (fixed-size). But if you want to concatenate n strings in a loop, the performance degrades in multiples of n.” An article that compares the speed of 4 different ways to concatenating Strings in Java. Using StringBuilder is clearly the fastest but it is interesting to see the range of differences. The comments to the article also mention when StringBuffer should be preferred.
via Dz0ne
Leave a Comment » |
Java |
Permalink
Posted by Greg Ballinger
January 15, 2009
Interdisciplinary UBRP-CT/iPlant
As spring classes begin, please let your undergraduates know about a unique 2009 summer research opportunity for students interested in applying their computer science background to problems in plant biology. The Interdisciplinary Computational Thinking and Plant Biology Research Program for Undergraduates
(Interdisciplinary UBRP-CT: http://ubrp.arizona.edu/iplant) is a 12 week paid summer research experience (roughly $300/week) with many additional enrichment activities (http://ubrp.arizona.edu/iplant/default.cfm?id=supplement).
The program takes place at the beautiful University of Arizona campus in Tucson (http://www.arizona.edu/, webcam: http://www.cs.arizona.edu/camera/ ). Additional stipends for travel, room and board are included.
Students majoring in computer science, mathematics, management information systems, statistics, engineering, physics, or plant sciences and who are US citizens or permanent residents of the US are eligible to apply. The application deadline is Feb. 1, 2009.
1 Comment |
IT Careers, Java, Programming, Student Success |
Permalink
Posted by Greg Ballinger
November 5, 2008
Stack Overflow
As long as your question is:
- detailed and specific
- written clearly and simply
- of interest to at least one other programmer somewhere
… it is welcome here. No question is too trivial or too “newbie”. Oh yes, and it should be about programming. You know, with a computer.” Looks promissing, especially for more advance development. (via Prof. Meyer)
Leave a Comment » |
IT Careers, Java, PC Security, Programming |
Permalink
Posted by Greg Ballinger
September 11, 2008
Pseudocode Summary
A good, short (one page) description of the pseudocoding process including an example. Highly recommended for all beginning programmers. (via Prof. Meyer)
Leave a Comment » |
Java, Programming, Student Success |
Permalink
Posted by Greg Ballinger
September 9, 2008
InformIT: What Is Clean Code? > Bad Code
Sample chapter from Clean Code. Robert C. Martin introduces his book, Clean Code, and polls experienced programmers — including Bjarne Stroustrup, Grady Booch, Dave Thomas, and Ward Cunningham — on what their definition of “Clean Code” is.
A quick read that touches on some important points for novice programmers. (via dzone)
Leave a Comment » |
IT Careers, Java, Programming, Student Success |
Permalink
Posted by Greg Ballinger