Forums

Just found Cobra

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Just found Cobra

Postby callisto » Fri Oct 28, 2011 1:28 pm

Hi,

I discovered Cobra last week, and it looks interesting. I've not programmed on mono before, nor done much with Python, so most things are new, but creating simple programs has not been too difficult so far. Some of the error messages are particularly helpful:

error: The left hand type of "!=" is not nilable (it's "int") so the expression will always evaluate to the right hand side. If you meant "does not equal" then use "<>". "a != b" means "a = a ! b" where "!" is an operator concerning nil.


The "If you meant" seemed specially tailored to the newcomer!

After trying some simple numerical tests, I've found Cobra runs in the same time as my equivalent Java programs. Which is very nice! I've been looking for a friendlier way to write some scientific software, and Cobra may fit the bill with its built-in support for contracts and tests.

I am using the version of Cobra from the Downloads page, 0.8.0 is what 'cobra --version' tells me. Is it worth upgrading to the latest version from SVN?
callisto
 
Posts: 10

Re: Just found Cobra

Postby Charles » Fri Oct 28, 2011 5:54 pm

Glad you like Cobra. It's totally worth it to get the SVN version. I haven't had time to cut a release in a long time...
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 56 guests