Hacker News new | ask | show | jobs
by ttsda 2939 days ago
you hate it? care to elaborate?
1 comments

Yes, hate. It boils down to my personal preference, though, so take it with less than a grain of salt.

The MAIN things that bother me: * Slowness * Enforced rules on whitespace * Incompatibility between 2.7 and 3.x * The fact that many tools still use 2.7, making something virtualenv necessary at all * Needing both pip and conda (i.e. to try Caffe) * Extreme dynamic typing means code completions are often poor or of little help * Windows support often lacking

There's actually a _lot_ more, but for the sake of not hijacking this thread, I'm going to stop my list there.

Anyways, those are just my personal preferences; I don't expect those to be reasons for other people to not like Python.

I agree with some of your points even though I love Python - but what is it you find lacking about the Windows support? Have you looked at Mark Hammond's pywin32 package and the accompanying book[1]?

The book is written for Python 1.5, but win32 hasn't changed much and neither has the core Python syntax, so it's still very much applicable. (The one major difference is that the book had to concern ifself with converting Unicode strings everywhere, whereas in Python 3 with current pywin32 it just works.)

[1] https://www.amazon.com/Python-Programming-Win32-Windows-Prog...

> Slowness

If anyone complains about Python performance and don't use PyPy....they are poking themselves in the eye.

PyPy isn’t compatible with several things I (try to) use, namely TensorFlow.

That’s another thing on the list - I don’t like needing multiple versions of the interpreter installed.

Lots of things don't have language bindings with Tensorflow...Lisp, Ruby, JS.
That's true - I'm working on porting bindings for Dart.

... Because I hate Python, haha. Anyways, for the most part, I have to suck it up and just use Python.