In C it is very difficult to get code consistency, because we cannot even
agree on where to put the braces for statement blocks. I guess in this
department Python really shines, because more or less, "there is only one
way to do it". Here I am referring to a novice, such as an engineer who
just wants to set up some system configuration. He can just set up the
variables such as
numNodes = 5
linkConfig = ....
....
run_network ()
However, if he also wants to do some simple programming in the
configuration task, I think he will be very happy with the Python way.
Regards,
Bill
===========================================================================
Christian Szegedy <szegedy / nospam.or.uni-bonn.de> wrote:
> I had the "luck" to work with a C-purist together on a project. He
> insisted to use only "*" for pointer dereferencing, but no ->, because
> it was redundant. The problem is, that this added so much parenthesis to his
> code, that reading it was not much fun.
> ( OTOH (as a purist) he omitted parenthesis if it was not needed because
> of the precedence rules. That was not fun reading either... :( )
> Regards, Christian