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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Go and Brand X: A language comparison

79 点作者 inklesspen超过 15 年前

9 条评论

pvg超过 15 年前
It's an oddly syntax-focused comparison given that we already often refer to that entire class of languages as 'Algol-style' or 'Algol-derived' and the block-structure and lexical scope ideas are in wide use even in languages far afield, syntactically. I think the notion that they 'overlap more than they differ' is quite inaccurate - they do, if you cherry pick features, gloss over others (par is not the same as goroutines, interfaces are nothing like 'polymorphic operators', you can't turn all of go's keywords into, say, Turkish). If you weigh the differences, conservatively and pragmatically, the languages are tremendously different.<p>The other points raised:<p>'effective' vs 'good' - seems like a narrower case of the plentiful and in-depth literature available about 'worse is better' (and the converse).<p>'can't spot any language feature that was invented after about 1985' - at this point the Lisp crowd should probably be reaching for their pitchforks and lighting their torches. Perhaps formalized systems for hygienic macros came a bit later?
评论 #944388 未加载
评论 #944074 未加载
jdale27超过 15 年前
Excellent article. It pleases me that an important language that turned out not to be very widely used is nevertheless remembered by some -- if not by the creators of Go, who were apparently doomed to reinvent Algol 68 badly.<p>I'm also reminded of C.A.R. Hoare's famous quip about Algol <i>60</i>: "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." (Sourced at <a href="http://en.wikiquote.org/wiki/C._A._R._Hoare" rel="nofollow">http://en.wikiquote.org/wiki/C._A._R._Hoare</a> .)
评论 #944348 未加载
sethg超过 15 年前
The author admits that one feature present in Go and missing from Algol-68 is proper closures. I would consider this an extremely significant deficit in Algol-68, not just one item to bury in a laundry-list comparison.
评论 #944454 未加载
VBprogrammer超过 15 年前
In my own personal opinion, the fact that Google have brought to the forefront the need for a new systems language is way more important than the exact feature set they have chosen to include. Even things like garbage collection and array bounds checking make life better.<p>One thing I find interesting is that I've seen several people claim that Go is all but useless until they implement generics. Java has only had generics for the last 5 years, C# had them after that, and the languages Go is intended to compete with still don't have them (well C++ has templates and I guess C has void *)!
评论 #945828 未加载
j_baker超过 15 年前
I hate to break it to the author, but programming language design in general hasn't evolved much since ALGOL. It's not just Go. Sure, we have object-oriented programming, but that's really not anything earth-shattering from a language design standpoint.
kqr2超过 15 年前
See also:<p><a href="http://news.ycombinator.com/item?id=941350" rel="nofollow">http://news.ycombinator.com/item?id=941350</a>
dgriffin超过 15 年前
I find it hard to make any "system" language that will be better than C or maybe C++. Go or Algol are just going to be C with some features tacked on. If someone is going to overtake C it will need to be a whole new approach. I think that is what the author is trying to get at.
评论 #944965 未加载
waterlesscloud超过 15 年前
Wow, the Algol-68 spec really is impenetrable.
jorgem超过 15 年前
Hard to invent anything new.
评论 #944103 未加载