How not to comment your code
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.
How not to comment your code
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!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK