Hacker News new | past | comments | ask | show | jobs | submit login

python is also extremely fragile compared to something compiled

just setting up the python env to run the "script" requires a ton of bash (or simpler python)

of course it's true in all cases that if you know what's your supported/required/target environment is, then just a few lines of bash/python is enough. but the wider the spectrum of complexity one must handle the more it pays off to front load said managing, and distribute a compact and powerful program with few dependencies and as minimal complicated bootstrap steps as possible.




Amusingly for projects of medium complexity, Powershell is probably comparable or better than Python, on Windows, especially for sysadmin type stuff.

Powershell actually had optional typing from day 1 but unlike mypy & co, it's actually checked. As in, types were optional, you didn't have to write the down in the code, but if you did add them, using the wrong types would error out.

Powershell also has great integration with .NET so almost every .NET library is available if you need it and the deployment story is ok - Powershell needs to be installed and you can bundle everything else you need.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: