this post was submitted on 28 Nov 2024
463 points (88.6% liked)

Programmer Humor

32714 readers
938 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] 18 points 3 weeks ago (4 children)

Because "more effort and care" in Python is still way less of a pain in the ass than the minimum enforced boilerplate necessary in most other languages.

[–] ChairmanMeow 7 points 3 weeks ago (3 children)

I mean, is it? I personally haven't found Python using much less boilerplate. It's possible, but you end up with something inflexible that's hard to maintain.

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

Implement a basic socket connection in C (20 lines of manipulating struct sockaddrs and such), then do the same in Python (2 lines).

And then go back and make the C version support IPV6, because your initial implementation didn't.

[–] firelizzard 6 points 3 weeks ago

Or use a statically typed language that’s actually modern instead of C

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)