How bad comments are born in your code

Many programmers mention their support for “good” comments in the code. A significant percentage of all developers think the quality of the comments is one of the traits that separate good experienced programmers from the rest. But the cruel reality is lots of code out there is not commented at all or, even worse, it [...]

Code review - The meaningless ritual

Most of the time code reviews are a meaningless ritual. Everybody pays lip service to the importance of code reviews and a lot of people, especially in the management, are convinced that code reviews very effectively reduce the number of shipped bugs.
The problem is… most developers hate code reviews and avoid them like the plague. [...]

StringBuffer vs. StringBuilder performance comparison

Even if the StringBuilder was around for a while now, many people still use StringBuffer in single threaded applications. The main difference is stated in the StringBuffer comments:
“As of release JDK 5, this class has been supplemented with an equivalent class designed for use by a single thread, {StringBuilder}. The StringBuilder class should generally [...]

The 10 minutes “Getting started with RMI” tutorial

Since Java 5 working with RMI (Remote Method Invocation) is very easy. You don’t need the rmic compiler unless you work with legacy RMI clients. Now stubs are generated automatically at runtime.
As a result, writing distributed or client-server applications becomes trivial. Let’s see a very minimalistic example.
Our scenario will have a server sharing an object [...]

36 steps to success as technical lead

The “tech lead” role can be treacherous at times. While the name implies “leadership“, most of the times it doesn’t come with implied authority like a manager role for example. It often happens that this role is in a no-man’s-land where it brings a lot of responsibility but not enough formal authority. In order to [...]

  • Calendar

    July 2008
    M T W T F S S
    « Jun   Aug »
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • Tracking

  • License

    • Creative Commons License