Skip to content

The samurai principle in coding

c2.com
2 pointsa1g2 comments
On HN

Comments

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.

Talking about Samurai and coding. I prefer Wil Shipley's take at http://www.wilshipley.com/blog/2005/02/free-programming-tips....

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.