mercredi 4 juillet 2007

"Just read the comments !"

Ideally, the title of this post would have been You've got a problem in your code? "Just read the comments!". But it was a bit too long for the layout of this blog.

If you work in an international team setup, it's always good to have some way to communicate. And since you are spending most of your time in your favorite IDE, browsing some code to find this small but irritating bug, you probably think that the best way to communicate about the code itself is to put some comments. You are right. But you have to write them in the team language.

Lire la suite

Tags:

mercredi 20 juin 2007

"Whitespaces are a waste of time - I swear"

As I see it, it seems that many programmers really think that white spaces use loads of processor power at compilation and maybe even more at runtime. That's the only way I can explain functions or methods definitions that contains so little white spaces. Which is quite a bad news if these functions or methods are several hundreds lines long - and you are trying to debug them.

Lire la suite

Tags:

mercredi 28 février 2007

Source code with character

La version Française de ce billet est ici.

While waiting tomorrow's ticket about the Liskov Substitution Principle, I make this wonderfull piece of code I recently found on the system I work on available to you. And I'm pretty sure that, like me, you'll have hard time to find any kind of justification for this.

Lire la suite

Tags: