736
you are viewing a single comment's thread
view the rest of the comments
[-] dandroid@dandroid.app 6 points 1 year ago

So you're wasting hours of development time to save a couple of milliseconds of run time.

If that's your only criteria for choosing a language, you're gonna have a bad time.

[-] Redscare867@lemmy.ml 3 points 1 year ago

To be fair, sometimes that runtime difference matters. That’s why it’s C++ and python is a fairly common skill-combo amongst devs. But the fact that this dude is basically bragging about writing shell scripts as if that’s something an experienced dev couldn’t figure out tells me that they don’t really know anything about when you would choose either.

If they had mentioned the Global Interpreter Lock or dynamic typing maybe they would have had some sort of real case for why you should avoid python in certain situations.

[-] dandroid@dandroid.app 2 points 1 year ago

Totally agreed the run time difference matters sometimes. In my experience it's hasn't been the case for scripts, as they are generally small in scope in comparison to C++ applications.

[-] Redscare867@lemmy.ml 2 points 1 year ago

Agree 100%. At work I write my code that needs to be performant in C++ and scripts in python. I wouldn’t even dream of writing a script in C++.

this post was submitted on 25 Aug 2023
736 points (87.2% liked)

Programmer Humor

32060 readers
1118 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS