Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Programming Language

Cobra (programming language)

Object-Oriented Language

Cobra is an open source, general-purpose, object-oriented programming language created in 2006 by Charles Esterbrook. It runs on the Microsoft .NET and Mono platforms and was strongly influenced by Python, C#, Eiffel and Objective-C, the four languages the Programming Language Database lists as related. Early development happened under Cobra Language LLC, and the project's homepage domain was registered in 2008. Like Python it uses semantic indentation, so blocks are shown by layout rather than braces. The sample code on the page defines a class with a main method that prints a greeting, and a Person class that declares fields with var, writes its constructor as cue init and overrides toString. Cobra appears in the TIOBE Index, eleven Project Euler users solve problems in it, and Rosetta Code carries snippets written in the language.

Facts
First Released
2006 1
Connections

Follows Typing Discipline

Source MSDN Magazine: Reaping the Benefits of Cobra
Source MSDN Magazine: Reaping the Benefits of Cobra

In Field

Source Cobra (PLDB page)

Invented By

Source Cobra (PLDB page)

Licensed Under

MIT License, Concepts
Source Cobra Language LLC: Why Cobra - Cobra Programming Language
Sources
1. Cobra (PLDB page)
  • PLDB page, opening line
    is an open source programming language created in 2006
  • In Field: Programming Language Theory, PLDB page, opening line [in-field]
    programming language created in
  • Invented By: Charles Esterbrook, PLDB page, Wikipedia summary
    Cobra is designed by Charles Esterbrook
View the Source
Cobra Language LLC: Why Cobra - Cobra Programming Language
Cobra Language LLCLicensed Under: MIT License, Why Cobra page, licence sentence
Quote, Licensed Under: MIT License, Why Cobra page, licence sentence
Cobra is open source under the permissive MIT license.
View the Source
MSDN Magazine: Reaping the Benefits of Cobra
MSDN Magazine
  • Follows Typing Discipline: Static Typing, Reaping the Benefits of Cobra, typing section
    Cobra neatly dodges this argument completely, by being both static and dynamic.
  • Follows Typing Discipline: Dynamic Typing, Reaping the Benefits of Cobra, typing section
    Cobra neatly dodges this argument completely, by being both static and dynamic.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.