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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

“Use Dumb Shell, Don’t Reinvent the Wheel”

2 点作者 ilyash超过 5 年前

2 条评论

znpy超过 5 年前
meh.<p>the pattern I see is people not learning enough bash to use it properly and then complaining about it.<p>nothing new under the sun.<p>I just saw the demo at <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=T5Bpu4thVNo" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=T5Bpu4thVNo</a> ... I guess time has come for us to launch scripts inside headless google chrome windows? &#x2F;s<p>on a more serious note... thanks but no thanks.<p>Bash is more than fine. I&#x27;ve said this over and over and I&#x27;ll say it again: shell scripting is software writing. You can&#x27;t expect to get correct behavior without understanding your tools and your shell. You can&#x27;t expect not to do error-checking and corner-case-checking and still have stuff working 100% of the time.<p>I don&#x27;t like to be rude, but: if you don&#x27;t do error-checking and blame it on bash when stuff goes down then you deserve what you get.<p>----<p>One could blame it on programs: a shell language is a glue language to chain commands together and to evaluate simple conditions to choose the next step: if existing programs and new programs do not behave consistently, and you have to resort to do weirder and weirder bash kung-fu, can you really blame it on bash?
评论 #22021600 未加载
bradknowles超过 5 年前
A “smart shell” with a UI is a GUI. It is not a shell.<p>We have plenty of GUIs, but if you want to invent another one, then be my guest.<p>But don’t try and tell me that a GUI is a “smart shell”.
评论 #22021640 未加载