ⓘ Cobra (programming language)

                                     

ⓘ Cobra (programming language)

Cobra is a general-purpose, object-oriented programming language. Cobra is designed by Charles Esterbrook, and runs on the Microsoft.NET and Mono platforms. It is strongly influenced by Python, C#, Eiffel, Objective-C, and other programming languages. It supports both static and dynamic typing. It has support for unit tests and contracts. It has lambda expressions, closures, list comprehensions, and generators.

Cobra is an open-source project; it was released under the MIT License on February 29, 2008.

                                     

1. Features

Object-oriented
  • Mixins, extension methods
  • Methods, properties, indexers
  • Namespaces
  • Classes, interfaces, structs, extensions, enumerations
  • Generics, attributes
Quality control
  • Unit tests, docstrings
  • Contracts, assertions
  • Compile-time nil-tracking
Expressiveness
  • Interpolated strings
  • for expressions
  • in and implies operator
  • Static and dynamic binding
  • List, dictionary, and set literals
  • Slicing
  • Lambdas and closures
  • Compile-time type inference
General productivity
  • Garbage collection
  • Exception handling
  • Postmortem exception report
Scripting conveniences
  • Shebang line #!
  • Dynamic binding
  • One-step run
  • Clean syntax
Miscellaneous
  • Documentation tool cobra -doc
  • Syntax highlighting tool cobra -highlight
                                     
  • revolvers Cobra programming language a computer programming language Combined bisulfite restriction analysis, a molecular biology technique COBRA rocket
  • COBOL Cobra ColdFusion Combined Programming Language CPL Curl D Distributed Application Specification Language DASL combine declarative programming and
  • Python is an interpreted, high - level, general - purpose programming language Created by Guido van Rossum and first released in 1991, Python s design philosophy
  • A compiled language is a programming language whose implementations are typically compilers translators that generate machine code from source code
  • Cobra Japanese: コブラ, Hepburn: Kobura is a Japanese manga series written and illustrated by Buichi Terasawa. Set in the far future, the series tells
  • comparison of programming languages compares the features of language syntax format for over 50 computer programming languages Programming language expressions
  • COBOL Scripting language Cobra CoffeeScript ColdFusion COMAL Combined Programming Language CPL COMIT Common Intermediate Language CIL Common Lisp
  • The AC Cobra sold as the Shelby Cobra in the United States, is a British - American sports car with a Ford V8 engine, produced intermittently in both the
  • The Ford SVT Mustang Cobra also known as SVT Mustang Cobra SVT Cobra or simply as Cobra is a muscle car pony car model that was built in model years
  • The Bell AH - 1 Cobra is a two - blade rotor, single - engine attack helicopter manufactured by Bell Helicopter. It was developed using the engine, transmission