TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The samurai principle in coding

2 点作者 a1g超过 14 年前

2 条评论

wccrawford超过 14 年前
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.
hboon超过 14 年前
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>.