-
Some Very Basic Code Standards
2005-12-05 "Whilst on the topic of aggravation:
/** * Returns the url for the link * @return the url for the link * @param oFooUtil the foo util * @param sSomething the something * @param iAge the age */ public String getRelationPath(FooUtil oFooUtil, String sSomething, int iAge) { ... }
- Do not name your methods deceptively and keep the correct information in the javadoc only
- Do not use hungarian notation. It is extra useless in Java as it is an object oriented language which means that many, many variables will be prefixed with o.
- Do not comment the obvious
-
How to best develop half of a web application?
2005-08-26 "At work, the task at hand is extending an existing J2EE based product. This means that half of the .war that is to be deployed is hands-off, and the other half is written by us.
The problem I am having is how to get a productive environment. Unfortunately the products file organization is a mess, so there is no way to have a version checked into the version control system as it never would survive an upgrade. Also the deployed app needs to be initialized with a lot of data that is - surprise - saved both in a database and on the filesystem, meaning no easy test db setup.
" -
Why does Sun not provide a Java Communications API for Linux
2005-06-14 "Why on earth doesn’t Sun provide a Java Communications API for Linux?
Good thing IBM does.
" -
Using Dependency Injection for GUI coding
2004-02-08 "My colleague Jimmy and I spent a lunch the other day discussing client application GUI editors. We both agreed that the ones we know suck quite majorly since they create code can’t be touched, does not allow for any sort of creative programming etcetera. On the other hand, it is quite handy to see the GUI develop - not that the result always looks like the one drawn though.
So instead he made the case that you should have a window continuously rendering the code you’re writing. Sort of like seeing the GUI develop while you code instead of watching the code die while you draw the application GUI.
"