netconf and python

Colin Alston colin at thusa.co.za
Wed Sep 19 10:04:40 UTC 2007


On 2007/09/19 11:43 AM Martin Marcher wrote:
> Also why not use C++ - yes I know that there are a lot of people that
> for some reason don't like it but having well defined interfaces and a
> good design of classes could lead to having
> 

Hrm.. well I'm always horribly irritated and frustrated with anything 
to do with C and strings. One of the Twisted developers put it well as 
"you feel like your time would be better served sorting oranges by 
size". C++ does help in these instances with better string handling, 
some crummy OO but still useful to a point, vectors which are sort of 
useful etc, but...

a) It's slow. It just is. It's horribly slow
b) It can be more painful. Debugging STL stack tracebacks really 
_does_ make you want to rather sort deciduous fruits by diameter.
c) The code paterns you are forced into can become far more messy.
d) You then require libc++ and some other cruf, and then you may as 
well just use Python.

Either way, Linus himself sums it up here 
http://thread.gmane.org/gmane.comp.version-control.git/57643/focus=57918 
well, without the profanity I mean..



More information about the netconf-devel mailing list