本文主要是介绍上交大计算机dominik_C和Java Dominik Gruntz撰写的出色文章,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
上交大计算机dominik
C# and Java: The Smart Distinctions. Article by Dominik Gruntz from Journal of Object Technology (Nov-Dec 2002 Issue), this article shows some of the subtle difference between C# and Java. [sellsbrothers.com: Windows Developer News]
C#和Java:明智的区分。 来自对象技术杂志的Dominik Gruntz的文章(2002年11月12日发行)显示了C#和Java之间的一些细微差别。 [ sellsbrothers.com:Windows开发人员新闻]
This was a really interesting read...it really underscores the amount of thought IMHO that was put in to making C# better than Java. They've really tried to offer the programmer a lot of power, even the power to shoot one in one's head. Since a programming language syntax's primary goal is to allow me to clearly express my intentions, these are important changes. If you look at Number 3, the changes to the try-finally behavior...you see than you can still shoot yourself, but they've removed the ambiguity. Nothing sucks worse than to not really be sure if you intended to shoot yourself in the head...
这是一个非常有趣的读物……它确实突显了IMHO在使C#比Java更好方面投入的大量思考。 他们确实尽力为程序员提供很多功能,甚至可以将其射击。 由于编程语言语法的主要目标是让我清楚表达自己的意图,因此这些都是重要的更改。 如果您看一下数字3,尝试-最终行为的变化……您会发现仍然可以开枪自杀,但是它们消除了歧义。 没有比确定自己是否想开枪射击更糟的了...
翻译自: https://www.hanselman.com/blog/c-and-java-the-smart-distinctions-article-by-dominik-gruntz
上交大计算机dominik
这篇关于上交大计算机dominik_C和Java Dominik Gruntz撰写的出色文章的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!