To all those devs out there
Especially the Meraki and Cisco devs (who have put together some great training material)
I have a couple of ideas I want to implement, so not having written anything in python recently, I decided to renew my acquaintance by auditing a couple of courses.
Which had me cussin', out loud. If python had been used for the Apollo space program, we would we still be waiting. (They did there, despite Fortran).
There must be a special place in hell for Guido van Rossum, and he would not be alone, quite a few well known names will eventually join him there.
As somebody who spent time studying comparative languages and design, python makes me wince. Its lack of orthogonality takes one's breathe away, and not in a good way. Plus - weak typing, lack of explicit variable declarations, white space as syntax (foobars cut and paste), everybody has their pet hate to add to the list.
At the end of the day, python is too risky to be used on large and critical projects - too easy for errors to slip though testing.
e.g. -
x=0
for ii in range(5):
++x
print(x)
No error message ++x is parsed as +(+x) which is a no-op.
So why are why are we using python in SDN situations?
For professional developers a language is a tool, not a qualification. One of the things we learn early on is that the best tools are predictable, and easily verifiable. Python is not the only convenient language.
I encounter suggestions that one should prototype in python and then develop in something more appropriate. And how often does that happen?
Demonstration code should function correctly even when cut and pasted.