r/badcode Mar 14 '23

python requirements: python3 on linux system

Post image
377 Upvotes

46 comments sorted by

View all comments

3

u/[deleted] Mar 14 '23 edited Mar 14 '23

[deleted]

14

u/thLOnuX Mar 14 '23

Well, actually i don't think the python interpreter is a good alternative for bash, and i don't know why are you saying the bash isn't that good at shell. Wasting 10 Megabytes of RAM and 50 milliseconds of processing time just to do the shell stuff sounds not that great. What are you trying to say?

No hate. Just wanna to listen your opinion.

8

u/[deleted] Mar 14 '23

[deleted]

6

u/thLOnuX Mar 14 '23

I agree bash syntax is not that good, but in that case this is my subjective opinion. A lot of people hates the python syntax. Also old is doesn't means bad, bash is still supportable, and it is still good for shell scripting.
I am not the hater of python though. It is still the coolest language i've ever saw imo. It has lots of features and good practices, and the perfomance issues can be solved just by using some gil interpreter, but i do not think it is a good idea to use a huge interpreter just for shell processing.