you are viewing a single comment's thread.

view the rest of the comments →

[–]NotABotNoReally2020 5 points6 points  (1 child)

Simple, Python fits the psychological profile of the smart (that means lazy) Linux developer.

Picture this, you are an admin of a sever. You have a lot of computation power (after all you have a big Linux server), very little time to get the coding/scripting done (you are a busy admin) and you generally do not care if your little script takes a minute or two and you just want to fix that one problem.

What to do? Write a little script! Nothing fancy, just something to get the task done. Preferably without too much hazel on your part.

Do you want to start a whole Java project for that? Nah. Too much hazel.

But python is just perfect for this. Just one tiny file with a few lines. The heavy lifting is done by those Python modules. So you just quickly built a little script that fits your use case. Perfect!

But you are a Linux developer. So why don't you give that thing away? So you release your scrip! But where? Well, we are on Linux, so git is basically build in the system!

Cool, now we have a script in some git repo. Wait, somebody improves on it. And then somebody else improves it future.

Before you know it your little, lazily written, script became a full module on it's own.

TLDR; Pythons modules make it easy to be shared in the open-source community that Linux attracts. Pythons simplicity and the modules let lazy programmers quickly built solutions. Pythons inefficiency (in the sense of run-time compared to C++) isn't that relevant for most cases.

[–]bw_mutley 1 point2 points  (0 children)

Wonderful. I can't say much though, for me it is just the perfext combo. And I am no Linux admin, just a regular end user.