Cobra is an actively used programming language created in 2006.

13Years Old 2,766Users 2Jobs

Example code from the Hello World Collection:

"""Hello world in Cobra"""

class Hello

    def main
        print 'Hello, world.'

Example code from Wikipedia:

class Person

    var _name as String
    var _age as int

    cue init(name as String, age as int)
        _name, _age = name, age

    def toString as String is override
        return 'My name is [_name] and I am [_age] years old'

Last updated February 11th, 2019