DEV Community

Discussion on: Why all this hate about Python?

Collapse
 
sisterniccy profile image
T.E.

I do not like python for several reasons (even though I have to use it sometimes because certain unnamed IoT people only supply python libs that work). For me, python is like visual basic (or basic) a pigeon language that is missing everything from proper grammar to syntax. Currently, my favorite language is C#, especially after xamarin and mono made it portable. But I'd take C/C++ any time over python if at all possible.

  • The indentation: The indentation in python is plainly terrible. It makes the whole code unreadable. Don't get me wrong, I like indentation, but there has to be something around it to delimit a block, like {} that everybody else uses. Makes it more readable.

  • command delimiter: There really should be something to delimit a command on the end of a line. I so love the C style ';'

  • The typing: This is like speaking without articles... do I have to say more? (this is actually one gripe I have with C# since they introduced a var type)

  • And finally: Interoperability. While python supposedly works well with C/C++, it is a heavenly PITA to implement an interface to it. Calls that should work, like importing a module, crash the program for no apparent reason and so on.