8

How not to comment your code

 2 years ago
source link: https://techteapot.com/posts/how-not-to-comment-your-code/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How not to comment your code

Jack Hughes
2007-10-29

I was talking to an old time programmer a while ago and he reminisced about a colleague who used to comment his code using Ancient Greek.

So next time you’re tempted to criticise one of your colleagues for their poor quality code commenting, just pause and think that it could be a lot worse. Instead of scratching your head trying to figure out what the English means you could be reaching for your Ancient Greek dictionary instead. 😄

At least he couldn’t use the Greek alphabet because 1950s computers didn’t do unicode!

Jack Hughes avatar
About Jack Hughes
An experienced software engineer with 20+ years experience writing products for Microsoft Windows based operating systems as well as 17+ years experience hosting websites on Linux and Windows including e-commerce and CMS systems.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK