this post was submitted on 16 Sep 2024
728 points (97.4% liked)

Programmer Humor

32715 readers
1465 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) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 3 months ago

I think venv is the best because it's built in. But I'm also not a Python dev.

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

Is it the language's fault that you want to solve complex problems?

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

I call it a layer 8 issue

load more comments (1 replies)
[–] [email protected] 0 points 3 months ago

I would recommend pdm and micromamba.

[–] [email protected] -1 points 3 months ago (6 children)

“Print needs ()”

Oh fuck off. years of code that cannot be easily redone in ANY editor. Whoever OCDd that into python 3 needs to have their asshole kicked up into their mouth.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

Meanwhile Nim:

echo "I am still worthy"
let a = r"I hate the ugly '\' at the end of " &
         "multiline statements"
for x in 0..9:
  if x == 6: echo x

echo x # this is error in Nim, but not in python. Insane!
assert false + 1 # this is an error (python devs in shambles)
assert true - 1 # see above

Thanks for coming to my Ted-talk.
More here: Nim for Python Programmers

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