-
-
[转帖]Cobra 0.9.1
-
发表于: 2012-10-16 23:51 981
-
Cobra 0.9.1
Cobra description
An object-oriented programming language
Cobra is a programming language that combines elements of Python, C#, Objective-C, Eiffel and others so as to provide developers with increased productivity.
Cobra comes with high-level syntax as well as static and dynamic binding, along with high-quality support for unit tests and contracts.
Here are some key features of "Cobra":
· Quick, expressive coding
· Fast execution
· Static and dynamic binding
· Language level support for quality
Requirements:
· Microsoft .NET 2.0+
What's New in This Release: [ read full changelog ]
Language:
· Enabled multiple test sections in methods and properties.
· Added new try...catch...get expression.
· Added support for namespace doc strings.
· Added unpacking the new Pair classes with assignments and for loops.
· Throw an UnpackException? for multi-target assignment (target1, target2 = source) if there is a mismatch in the number of source items and targets
· Enhanced the treatment of == and between objects to fall back to a strongly type .equals method if a strongly typed .compareTo method is not available.
· Added numeric literals like 45n for number and 45d for decimal. Previously, the d suffix required a decimal portion (45.0d) and there was no n suffix available.
· Added recognition of the interfaces of primitive types such as int implementing IComparable.
· Added proper support for DllImport also known as "P/Invoke".
· Added local variable creation and type inference for out parameters in method calls.
· New warnings
· Do not use the identity operator "is" with an obje...
0dfK9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6i4y4G2k6Y4c8H3k6h3c8A6j5g2)9J5k6h3y4G2L8g2)9J5c8X3c8&6L8W2)9J5k6s2m8G2M7%4c8V1L8%4N6F1L8r3!0S2k6q4)9J5k6i4m8Z5M7q4)9K6c8Y4m8Q4x3@1b7J5x3U0t1%4x3o6S2Q4x3U0k6@1i4K6y4p5x3q4)9J5y4X3W2Q4x3@1b7I4

赞赏
他的文章
赞赏
雪币:
留言: