TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

C. Hoare: Hints on programming language design (1973) [pdf]

30 pointsby hazelnut-treealmost 2 years ago

3 comments

pjmlpalmost 2 years ago
Also regarding language design, C.Hoare on language safety, with am indirect jab to C, in his 1980&#x27;s Turing Award speech.<p>&quot;Many years later we asked our customers whether they wished us to provide an option to switch off these checks in the interests of efficiency on production runs. Unanimously, they urged us not to--they already knew how frequently subscript errors occur on production runs where failure to detect them could be disastrous. I note with fear and horror that even in 1980, language designers and users have not learned this lesson. In any respectable branch of engineering, failure to observe such elementary precautions would have long been against the law.&quot;<p>=&gt; I note with fear and horror that even in 1980, language designers and users have not learned this lesson.
Jtsummersalmost 2 years ago
Two prior discussions:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3241241">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3241241</a> - Nov 16, 2011 (5 comments)<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10102860">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10102860</a> - Aug 22, 2015 (25 comments)
hazelnut-treealmost 2 years ago
Preface to the paper:<p>&quot;<i>This paper must clearly be read in the context of its date of composition (1973). The relative weight of comment on debugging and reasoning about programs clearly changed as a result of his own later research. Also, a richer notion of types would be appropriate today. But the sound advice in this paper transcends any minor aspects in which it might be considered to be out of date.</i>&quot;<p>Discussed in the paper:<p>- Simplicity<p>- Security<p>- Fast translation<p>- Efficient object code<p>- Readability<p>- Comment conventions<p>- Syntax<p>- Arithmetic expressions<p>- Program structures<p>- Variables<p>- Block structure<p>- Procedures and parameters<p>- Types<p>- Language-feature design
评论 #36807611 未加载