英文:
Is there a comparison between Scala and Google 'Go' language (feature by feature)?
问题
我想知道是否有人能够对比Scala和谷歌的Go语言(逐个特性进行比较,如并发模型、集合等)?
英文:
I wonder if someone can produce a comparison between Scala and Google 'Go' language (feature by feature, like concurrency models, collections, etc.)?
答案1
得分: 8
更好地将其与C(或C++或D)进行比较。
就我所理解的意图而言,这种语言的目的是取代C/C++,而不是Java/Scala(虚拟机语言)。Go语言没有异常、断言和继承。这只对C程序员来说是可以忍受的。
我希望看到在其他语言中不存在的新部分(或在Go语言中新组合的部分)。特别是如何使用简约的类型系统设计程序。
英文:
Better compare it to C (or C++ or D).
As far as I do understand the intent of this language is to replace C/C++ not Java/Scala (VM languages). Go has no exceptions, assertions, inheritance. This is only bearable for C programmers.
I would like to see the new parts not present in other languages (or newly combined in Go). Especially how programs should be designed with the minimalistic type system.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论