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 samurai principle in coding

2 pointsby a1gover 14 years ago

2 comments

wccrawfordover 14 years ago
I think this is a good principle. It's easy to get confused about what a function is/does unless you have a guide. (For experienced developers, experience is that guide.) The samurai principle seems to be what functions were originally for... At least in the OO world.
hboonover 14 years ago
Talking about Samurai and coding. I prefer Wil Shipley's take at <a href="http://www.wilshipley.com/blog/2005/02/free-programming-tips-are-worth-every.html" rel="nofollow">http://www.wilshipley.com/blog/2005/02/free-programming-tips...</a>.