this post was submitted on 16 Sep 2024
460 points (89.7% liked)

Programmer Humor

32396 readers
692 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 1 month ago* (last edited 1 month ago) (6 children)

This is why I refuse to work in production code bases in python, it’s a nightmare of build systems, linters, package managers (dear god help the poor soul who accidentally pip’d from pypi and not your companies artifactory instance), formatters, convoluted ci pipelines that always seem to fail, a series of “senior” devs that will make you redo everything because you wrote your own map (we don’t use functional programming here meme) instead of a for loop (can’t use list comprehension for “code readability issues”). Got to the point of just saying fuck it, I’ll write it in Scala or rust, SBT and Cargo god tier.

[–] [email protected] 3 points 1 month ago (2 children)

Wait does python not have built in functional list comprehension? Even PHP has that built in at this point.

[–] [email protected] 10 points 1 month ago* (last edited 1 month ago) (1 children)

Python is probably the language that popularized them, if not invented them. They're saying the team doesn't like using them.

My take is that other than C++, where it's reasonable, forbidden language features are a smell for the team not having a healthy understanding of the language

[–] [email protected] 4 points 1 month ago

As per all too often, the functional programming world invented them. Haskell (and its ilk) usually has all the future cool stuff already. Then python picks it up, then it moves over to C#/Java, then C++ says "mee too"!

load more comments (3 replies)