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 [...]
Filed under: Opinions, Software Development by Daniel Pietraru
15 Comments »
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. [...]
Filed under: Opinions, Software Development by Daniel Pietraru
15 Comments »
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 [...]
Filed under: Java API, Java Tips by Daniel Pietraru
8 Comments »
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 [...]
Filed under: Java API by Daniel Pietraru
2 Comments »
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 [...]
Filed under: Opinions, Software Development by Daniel Pietraru
9 Comments »