JNN
April 28th, 2004
I've just peeked into the code of jnn: The Juicy News Network, a weekend project by he who some call God (I won't mention any names though). And again, I'm worried.
For ten years now, people keep saying "In Java, variables start with a lower case letter." James Gosling sometimes uses capitals. "Structure your code." James doesn't even bother to hit the <enter> key an extra time between methods. "Use high-level constructs" I see bit manipulation all throughout. "Separate concerns" And why shouldn't Mr. Gosling makes his Feeds classes aware of the fact that they belong to a GUI, and thus have arrangements made for events?
It look like a new truth that I've just heard recently: "When coding, everybody falls back to his level of comfort." When you're used to Java, you'll program in Java following all those nifty design patterns and coding practices. When you're used to databases, you'll program in stored procedures. And I guess that, when you invented Java, your level of comfort is not Java, but more like C/C++.
What worries me most, though, is that it just works. Maybe there is a lesson to be learnt here.

Leave a Reply