404
Choose your path! (feddit.org)
you are viewing a single comment's thread
view the rest of the comments
[-] potatoguy@lemmy.eco.br 28 points 2 months ago

Hear me out:

Mixing OOP and functional code to abstract the shit out of everything making 5k loc in around 500 loc in java. You can do magic using this trick.

[-] passepartout@feddit.org 26 points 2 months ago

Functional programming in Java is kind of an afterthought and it shows. That's one of the reasons why Scala was created!

[-] Custodian6718@programming.dev 3 points 2 months ago* (last edited 2 months ago)

I mean Yeah it is an afterthought in the Sense of that Java was Originally an oop Language but fp in Java was added on very sensibly imo. I use functional Programming in Java a Lot and try to make Everything immutable where I can and honestly coding like that feels clean and very practical.

load more comments (7 replies)
load more comments (9 replies)
this post was submitted on 11 Jan 2026
404 points (92.1% liked)

Programmer Humor

30474 readers
3152 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 2 years ago
MODERATORS