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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Taco Bell Programming

36 点作者 andyjpb大约 6 年前

4 条评论

yellowapple大约 6 年前
Reminds me a bit of &quot;Master Foo and the Ten Thousand Lines&quot;[0], except replacing C code with a bunch of stuff in The Cloud™.<p>The problem with Taco Bell Programming is that those &quot;ingredients&quot; need to be versatile enough to actually be useful enough to not warrant reinventing their wheels. Unfortunately, that usually translates into complexity, ever-growing manpages, etc. If you&#x27;re only using 8 ingredients, it&#x27;s pretty unlikely that any of those ingredients are going to stick to the Unix philosophy of doing one thing and doing it well.<p>Additionally, at some point the task does end up being complex enough or atypical enough to involve coding for different corner cases and such. The only thing I&#x27;d dread more than ten thousand lines of C is ten thousand lines of Bash.<p>[0]: <a href="http:&#x2F;&#x2F;catb.org&#x2F;esr&#x2F;writings&#x2F;unix-koans&#x2F;ten-thousand.html" rel="nofollow">http:&#x2F;&#x2F;catb.org&#x2F;esr&#x2F;writings&#x2F;unix-koans&#x2F;ten-thousand.html</a>
gpapilion大约 6 年前
I’m not even sure how to interpret this. It’s sort of a know your tools post, with a hint of don’t over optimize. Having done both the Hadoop and shell script type solutions, generally error handling and debugging are what cause you to move into blatform solutions.
评论 #19275111 未加载
DLA大约 6 年前
There&#x27;s a lot to be said for this approach. With the size of today&#x27;s machines (say a TB of RAM, 16&#x2F;32&#x2F;or more cores, many TB of SSD) you can do a stunning amount of work with smart programming. For example, I&#x27;ve developed a tool to do some file processing that uses Go&#x27;s excellent concurrency mechanisms to reach speeds of ~40-50k files&#x2F;second on a moderate laptop.
dimator大约 6 年前
Yes, there&#x27;s merrit to this, but up to a point. The problem is that the &quot;glue&quot; you&#x27;re using to connect your ingredients is bash, and that quickly gets unwieldy &gt;100 lines or so.
评论 #19278381 未加载