this post was submitted on 08 Jun 2025
678 points (97.3% liked)

Programmer Humor

23955 readers
1397 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Redkey@programming.dev 2 points 16 hours ago (2 children)

"NPM install" isn't going to be the direct result of a race condition in JavaScript. And while I'm not familiar with Python, I'd guess that an "Indentation error" wouldn't be one either. A missing library or syntax error that's only discovered by executing a particular branch is still just a missing library or syntax error, not a race condition.

Also, while Node.js is popular, it isn't an integral part of JavaScript in the way that the other errors are integral to their respective languages.

[–] 0x0@lemmy.zip 4 points 5 hours ago

I had to come up with a title, this was it.
It's a cartoon.

[–] lime@feddit.nu 14 points 16 hours ago (1 children)

none of these are race conditions, they're just runtime errors. python only parses code when it is about to run that block so you can absolutely get a crash from bad indentation.

in my experience, the js world's focus on developer ergonomics has absolutely yielded some insane situations where running an installed script has caused it to start downloading more dependencies. however, this has unfortunately started happening in python too lately.

[–] JackbyDev@programming.dev 2 points 15 hours ago (1 children)

NullPointerException can be related to a race condition.

[–] lime@feddit.nu 2 points 7 hours ago (1 children)