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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Hints on programming language design (C.A.R Hoare)

42 点作者 ahalan超过 13 年前

3 条评论

jackcviers超过 13 年前
I disagree that the paper is obsolete. References and pointers abound in nearly every popular modern programming language [C, C++, Java, C#, PHP, Python, Ruby, EcmaScript, etc.] and in fact are the defining feature of all OO languages. Operator overloading is only possible in a small fraction of popular modern programming languages. Fast compilation is not even a focus of most popular modern programming languages. Type inference and automatic coercion, declaration, and defaults are in vogue in most programming languages. Also, programming languages are increasingly large and complex. Compiler optimization is likewise a hot-spot topic, as are gotos/jumping and global and out of block variable definitions.<p>It would seem to me that if his hints and assumptions are correct that language designers may have inhibited the growth of programming; though a programmer that knows her/his language of choice can and does take advantage of all of the inefficiencies described in this paper.<p>I'm really beginning to realize that the functional languages probably have it right: single value assignment; recursive function execution; compact, readable code; monads; guards; readable case statements; and narrow interfaces seem to satisfy a lot of what he recommends. Most OO languages definitely do not, although I love the expressiveness I have learned to achieve by exploiting their nuances.
vajrabum超过 13 年前
This paper is mostly obsolete but contains this wonderful and famous comment on Algol 60: Here is a language so far ahead of its time, that it was not only an improvement on its predecessors, but also on nearly all its successors.
评论 #3242378 未加载
eddington超过 13 年前
Previously, 2 points...<p><a href="http://news.ycombinator.com/item?id=3207255" rel="nofollow">http://news.ycombinator.com/item?id=3207255</a>
评论 #3242120 未加载
评论 #3241880 未加载