Live data from Hacker News

Please do not use Python for tooling

borud.no

1–10 of 84 posts

Re: Please do not use Python for tooling

#6
post #5

One word. Virtualenv.

Could you provide an example of how you solve the problems with Zephyr or ESP-IDF using virtualenv?

It appears ESP-IDF can already be installed with a virtualenv: https://github.com/espressif/esp-idf/blob/master/tools/idf_t...

Perhaps your problems are due to external dependencies (outside of Python)?

Re: Please do not use Python for tooling

#7
Also don't use C or C++, i wasted so much time trying to compile stuff (no offence if you're a C dev).

Also no Java please, how do I even install JVM on my system?

Node and JavaScript, Ruby, Perl, Bash are out too of course. Bash sometimes works but what if I'm using a different shell?

Re: Please do not use Python for tooling

#8
What a bizarrely arrogant (condescending) way to formulate arguments.

"It is okay to feel provoked by this statement. As pointed out previously: you have probably invested a lot of time in Python. You will be inclined to justify and defend that investment. I would urge you to take some time to think about this and try to calm your urge to come up with counter-arguments. Let it sink in and try to be open to the possibility that this is how many users experience software written in Python."

Re: Please do not use Python for tooling

#9
"In a pinch, even Java provides a better alternative as you have the ability to build all-in-one-jar files that contain all the dependencies. Not fashionable, but objectively a far less brittle option."

Really? In a pinch, use a language that's 90% boilerplate and relies on a mastery of the IDE? It's hard to take this seriously.

Re: Please do not use Python for tooling

#10
> Python is an anti-social language. It focuses primarily on the needs of developers and not as much on the user of the software

That's why I love it for tools. It's MY job to help my users. For them, I write Java. For ME, I write Python. Because it's python's job to help me.

Post reply on HN