| Cobra | |
|---|---|
| Paradigm | Multi-paradigm |
| Appeared in | 2006 |
| Designed by | Chuck Esterbrook |
| Developer | Cobra Language LLC |
| Latest release | 0.5/ April 7 2007 |
| Typing discipline | strong, static, dynamic |
| Influenced by | Python, Ruby |
| OS | Microsoft .NET, Mono |
| Website | http://www.cobralang.com/ |
This article is about the Cobra programming language from Cobra Language LLC. For the the Cobra programming language from the Squeaky Duck Design Company, see Cobra (programming language from Squeaky Duck).
Cobra is an object-oriented programming language produced by Cobra Language LLC. Cobra is designed by Chuck Esterbrook, and runs on the Microsoft .NET and Mono frameworks. It is strongly influenced by Python, and is also influenced by Ruby, C#, Eiffel, Boo and other programming languages. It supports both static and dynamic typing. Cobra includes:
- OOP-related features:
- classes, interfaces
- methods, properties, indexers
- generics
- Quality control:
- contracts, assertions
- unit tests, doc strings
- compile-time nil tracking
- Expressiveness:
- static and dynamic binding
- list and dictionary literals
- in operator
- for expressions
- slicing
- interpolated strings
- compile-time type inference
- General productivity:
- exception handling
- super stack trace
- garbage collection
- Compiled language performance
The most current release of Cobra is 0.5, released April 7, 2007
External links
- The Cobra Programming Language home page
- The Cobra blog by Chuck Esterbrook


