Java String Concatenation and Performance

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


DocWeb – Java API

August 27, 2009

DocWeb – Java API
A Sun-sponsored community JavaDocs site where members: Translate JavaDocs, Offer Bug References, Contribute Notes, Provide Code Examples & Rate Community Contributions” — a new way to view JavaDocs, includes more code samples!


A trojan horse programmer speaks out

August 26, 2009

gulli: Bundestrojaner: A programmer speaks out  “His job there was to code malware that would allow to invade PCs of private users. ERA IT Solutions should in particular be involved in constructing trojans which allow the wiretapping of VoIP calls.”  A very interesting and enlightening interview.  (via slashdot)


Software Testing Tips

July 6, 2009

Software Testing Tips | ChoosyInfo A few good tips about testing. Here is one that novices don’t often ignore. “Prepare your test cases in requirement or design phase…” (via dzone)


A Career in Computing

June 17, 2009

A Career in Computing Some good advice from a well-known author in our field.


10 commandments for creating good code

June 5, 2009

10 commandments for creating good code « Making Good Software Good guidelines, succintly put. (via DZone)


25 Microchips That Shook the World

May 2, 2009

IEEE Spectrum: 25 Microchips That Shook the World An interesting read about the hardware side of things.


Effective Java NullPointerException Handling

April 28, 2009

Dustin’s Software Development Cogitations and Speculations: Effective Java NullPointerException Handling An excellent article on handling and avoiding NullPointer exceptions. (via dzone)


US NSF – REU – List of all Programs

April 25, 2009

US NSF – REU – List Result

A master list of the the NSF REU Summer internship programs. Absolutely amazing opportunities on a variety of interesting projects.

This was buried in the blog, so applications deadlines may have expired but keep it in mind for next year!


Imagine Cup Student Competition 2009

April 13, 2009

Imagine Cup Student Competition 2009 “The world’s premier student technology competition, Imagine Cup is one way Microsoft is encouraging young people to apply their imagination, their passion, and their creativity to technology innovations that can make a difference in the world – today. Now in its seventh year, the Imagine Cup has grown to be a global event.” (via ACM SIGCSE)