this post was submitted on 02 May 2024
401 points (92.8% liked)

Programmer Humor

19555 readers
490 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 6 months ago* (last edited 6 months ago) (2 children)

Wouldn't want to write a webserver / database connection / scheduler / etc. from scratch. Spring Boot plus lombok turns 2k lines of code into 100.

[–] [email protected] 2 points 6 months ago

Sure... That"s what libraries are for. No one hand-rolls that stuff. You can do all of that just fine (and, actually, in a lot less code, mostly because Java is so fucking verbose) without using the nightmare that is Spring.

[–] [email protected] 19 points 6 months ago (2 children)

... Looks both ways...

Python does the same in 10 lines of code.

... Ducks under a table to avoid the ensuring flames ...

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

They say he's still ducking to this day

[–] [email protected] 3 points 6 months ago

Yep. That's why we call it "duck typing" in Python.

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

I replaced the P in my LAMP stand with Python and I've never been happier.

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