[Tutor] Cobra

Tiger12506 keridee at jayco.net
Fri Feb 8 23:49:08 CET 2008


It's dangerous posting something like this on a python website. ;-)

It has definite strengths over python, it seems, and some things I do not 
like.
Particularly interesting is the compilation directly to exe. Damn. I'm am 
seriously impressed with that. Cobra appears too new to learn and switch to 
yet but, I think that will/would be the deciding factor for me when it grows 
a little older.

I dislike the method for string interpolation, but I presume that's because 
I'm used to python and c... I would have to search through the docs of 
cobra, but my glance did not show me that it has the flexibility of 
python... The discussion of accuracy is meerly a preference. I personally 
would like my program to not virtualize every math operation i tell it to 
do. Sure, accuracy is useful in situations of finance or theoretical 
mechanics, but someone very wise once told me that significant digits mean 
more than abtract, unattainable accuracy. (Danny I think)

Python's default to use integer arithmetic is supposed to be changed in the 
new release of 3.0. Also, I wish to mention that my first impression of 
cobra is that somebody didn't like python and customized it slightly. 
rip-off, in other words. But the exe compilation directly, using C#... That 
is different. Powerful. I like it. It has a definite future.

> Peter Dilley posted these links on the python-list a few hours ago.
> Cobra looks VERY interesting to me.
>
> Comparison to Python:
> http://cobra-language.com/docs/python/
>
> Main Page:
> http://cobra-language.com/
>
> Article that first caught my eye regarding Cobra:
> http://www.computerworld.com.au/index.php/id;342684174;fp;16;fpid;1
>
> Dick Moores
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 



More information about the Tutor mailing list