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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Pymake: A Mostly GNU-compatible `make`, Written in Python

2 点作者 newsit超过 16 年前

2 条评论

jacquesm超过 16 年前
What an excellent piece of documentation on why you should not roll your own build system.<p>"because I can" is right next to the reasons the author gives:<p>"Why don’t you just hack GNU make itself?<p>There are some improvements we’re interested in doing which just aren’t possible within a C codebase:<p><pre><code> * implementing rules directly in Python * Condensing multiple invocations of make into a single process </code></pre> . Python is also about a zillion times easier to hack quickly."<p>What a totally pointless exercise, if anything he should have spent the time to make the build process <i>less</i> dependent on other packages, not more.<p>Same with javas 'ant', why on earth does everybody and their brother feel the need to reinvent the wheel.<p>If you're going to roll out some package try to keep your dependencies to the absolute minimum.
评论 #483978 未加载
评论 #484183 未加载
acangiano超过 16 年前
See Waf: <a href="http://code.google.com/p/waf/" rel="nofollow">http://code.google.com/p/waf/</a>