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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Is Small Still Beautiful?

42 点作者 r11t超过 15 年前

4 条评论

owinebarger超过 15 年前
I posted this response in LTU, but it bears repeating.<p>Orthogonality (or representational independence), not size, is the relevant criteria. Harmonic analysis is the appropriate comparison. While every complete basis can represent any function in the relevant function space, it is better at representing some than others; notably the functions which are a finite linear combination of the basis functions. So trigonometric series represent one kind of function very efficiently, wavelets another. It's similar with programming languages.<p>Of course the orthogonal core may be mostly of interest to the language implementer,as orthogonality should, in the most faithful sense of the word, make the implementation of one construct independent of implementing another construct, particularly in optimization.
评论 #979344 未加载
cabalamat超过 15 年前
Languages should be small, libraries should be big.<p>The standard library should be comprehensive and well documented so that it's easy to (1) decide if there's a package that does what you want, and (2) work out how to use it. Simply documenting all the functions/methods on an API is not enough; documentation should start by saying what problems the module is trying to solve, then give some worked examples. If the worked examples don't give a bloody good idea of how to use it, then probably either the package is badly designed or the documentation badly written.<p>There are libraries in Python that I have given up on using simply because I've not been able to figure out how to use them.
评论 #979427 未加载
评论 #979954 未加载
ct超过 15 年前
Small is nice until you've exhausted learning the nooks and crannies of the language, making you crave the ability to do more with it. Then more gets added until it isn't small anymore.
评论 #979347 未加载
评论 #979206 未加载
mmphosis超过 15 年前
Yes. Small is Beautiful.<p>Functional. Functions. And, the only important "<i>Library</i>" is a small and beautiful compiler which is invoked with a built-in function called compile that you can change, swap out and completely remove, of course. Anything else seems like big globs of crufty glue.
评论 #979354 未加载
评论 #979083 未加载