this post was submitted on 16 Sep 2024
457 points (89.9% liked)

Programmer Humor

32874 readers
599 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
(page 2) 10 comments
sorted by: hot top controversial new old
[–] [email protected] 51 points 4 months ago* (last edited 4 months ago) (1 children)

Python is a general purpose language. Yes you can do ML stuff and some mathematics, but that doesn’t mean you need to do them.

[–] [email protected] 43 points 4 months ago (3 children)

I was doing a job interview and the manager asked me why I choose python over other languages like R, like if I tough that python was the best language or what? I answered that python is not the best language for anything, for any job you want there's a better language, but python is the second best one for everything, so it offers a flexibility that no other language can. Like in my actuarial sciences MBA, all the professors use R, for 99% of they do I have an equivalent library in python, for the 1% that don't I can use rpy2 and run R code directly in python. Guess they liked my answer because I was approved and I'm about to start there in October.

[–] [email protected] 15 points 4 months ago

Yeah, that was the correct answer

[–] [email protected] 10 points 4 months ago
load more comments (1 replies)
[–] [email protected] 119 points 4 months ago (2 children)

honestly i expected the fifth panel to be full of things like "GIL", "2to3", "virtualenv" "pip vs conda vs poetry vs...", "mypy", etc

[–] [email protected] 5 points 4 months ago* (last edited 4 months ago) (2 children)

Surprised not to see meta-classes or package management in the meme.

EDIT: clarification

load more comments (2 replies)
[–] [email protected] 61 points 4 months ago (1 children)

Yeah, it's not about complexity things you can do with python, it's the complexity of getting it to run. That continues to be the biggest pain point for me.

[–] [email protected] 23 points 4 months ago* (last edited 4 months ago) (5 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] 4 points 4 months ago (1 children)
load more comments (1 replies)
load more comments (4 replies)
[–] [email protected] 172 points 4 months ago (10 children)

handing my friend a screwdriver

"You can use this for simple crafts and home repairs"

Me, backing away from the screwdriver in terror

"Nice try, but I know what that is. They use that thing to build the Space Shuttle."

load more comments (10 replies)
load more comments
view more: ‹ prev next ›