TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Elements of Programming Style

7 pointsby b-manabout 15 years ago

3 comments

bluesmoonabout 15 years ago
here it is as a fortune mod file: <a href="http://db.glug-bom.org/lug-authors/philip/misc/fortune-mod-prog-style.tar.gz" rel="nofollow">http://db.glug-bom.org/lug-authors/philip/misc/fortune-mod-p...</a>
johnlabout 15 years ago
They are all pretty good but "Avoid unnecessary branches." and "avoiding goto" are top of my list. Usually is a red flag to me that the programmer has conceptualized the program but not taken the second step to split the program into smaller workable parts before starting the project.
tjpickabout 15 years ago
&#62; 44. Don’t strain to re-use code; reorganize instead.<p>that's a good one that is easy to forget when you get into re-use mode