Tuesday, November 18, 2008

Habits

A programmer's code is like his fingerprint, everyone has slight quirks. This becomes really apparent when you're uploading and downloading code from nine other programmers. You end up being able to look at a section of code and you can tell who wrote it. The differences are always slight, but they are there. Someone might leave a space between and 'if' statement and the brackets afterwards. Someone might prefix a const char pointer with kcp, while other (more charismatic programmers) might prefix it with pkc.

Sometimes it just seems like I'm the only person who labels their accessors methods (Get and Set) with 'please'

It's not just about manners, it's about style.

No comments:

Post a Comment