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

Programmer Humor

18947 readers
646 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
[–] passepartout@feddit.de 15 points 3 months ago* (last edited 3 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.

[–] MajorHavoc@programming.dev 19 points 3 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 ...

[–] SpaceNoodle@lemmy.world 12 points 3 months ago (1 children)

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

[–] MajorHavoc@programming.dev 4 points 3 months ago
[–] VantaBrandon@lemmy.world 5 points 3 months ago (1 children)

They say he's still ducking to this day

[–] MajorHavoc@programming.dev 3 points 3 months ago

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

[–] expr@programming.dev 2 points 3 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.