I feel like the author is a MacBook user.
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.
Functional programming in Java is kind of an afterthought and it shows. That’s one of the reasons why Scala was created!
Yeah, Scala is the GOAT, but while I can’t use, why not final everything, use 300 streams and pass Suppliers around?
(I’m building a lot of libraries at work)
Do people still use vavr? When I wasn’t allowed to use scala that made up for a fair few shortcomings but it’s probably less relevant than it used to be
I didn’t know about vavr, I think a lot of things from it were added since Java 17, but this Try<T> seems cool.
Edit: Either would be nice too. I’m going to test some of those things, thanks for the recommendation!
Very pleased to have been of help! I love scala but Java really isn’t too bad (streams API is fine except that you need to explicitly move in and out, rather than getting to do the cool scala thing of just using methods in the phenomenal collections library) and I don’t like dunking on it, but it really does need a few helper libs. Tuples, either and try I think vavr has. Java seems to have covered most other stuff now. But been a half decade since I’ve written more than 10 lines at a time so hasn’t come up for a while. Sorry. Reminiscing. Sunday night blues.
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.
I’m gonna wait for backup on this one.
Yes, you can make money and electricity magically disappear !
OOP boilerplater except for the Windows bit; trying to slowly move off proprietary software and choose open source when I can
Same honestly, it’s a hustle to convince the Java EE dinosaurs of new paradigms. Never going back to Micro$lop though.
Functional streams are a good start
Jetbrains though :(
also a JetBrains enjoyer :( one day I’ll teach myself to like VSCode as much as I like JetBrains
history | grep -E '(sed|grep|awk|perl)' | wc -l107Dang. That’s out of 1000. I need to up my game. Also three of those
seds are part of something with a-basedirand don’t count.So yeah, about 10% of my commands are iterating shell pipe things for poops and giggles, I guess.
… and this got me going down the rabbit hole of writing a filter for my history to pull out the first command on the line. This is non-trivial because of potential preceding variable assignments. Most used commands are currently
aptandmanandls. I thinkaptis a Spiders Georg situation because the system is fairly fresh and I keep finding things that I haven’t installed yet. Also I went through a patch of trying to parse its output.… oh, er… unga bunga.
I just use nushell’s builtins instead of wrangling with
IFSand bash idiosyncrasies. It’s been years since I’ve corrupted data by parsing text wrong.But even if someone doesn’t want that: apart from using it in legacy scripts,
grepis just a strictly less usefulripgrepthese days, no?$ history | grep -E '(sed|grep|awk|perl)' | wc -l 50 $ history | wc -l 500Checks out perfectly.
Is there a panel for the pragmatist that just goes with what works, with open source strongly preferred?
No, because the whole point of this meme is to be entirely devoid of nuance. Functional programming is fucking awesome if product is changing its mind every 5 mins, Oop is great if you have a huge number of junior Devs, rust isn’t remotely slow so god knows what bottom right is about, top left probably has more functionality defects than you can shake a stick at but he’s lionised here. Don’t think too hard about it – OP didn’t (also ‘never bashes python or JavaScript’? Absolute weaksauce. Perl and PHP are the ones ppl bash because of entry level dev memes. Embarrassed for op)
deleted by creator
I’ve been shifting around, but never to the OOP boilerplater. I despise Java.
My people!
Unga bunga.
Just finished an assignment for uni: Memory safety in Rust: Mechanisms and limits - a comparison to C/C++.
Fuck.
Great overview of Rust’s weaknesses and strengths:
Li et al. 2024 Rust for Linux: Understanding the Security Impact of Rust in the Linux Kernel
Rust introduces some pretty awesome concepts, but I see why it might be controversial to some. I (sadly) have no use case for it though.
I think the “controversy” is just tribalism. I’ve never once witnessed a case of any of the negative adjectives thrown at the Rust community. They’ve always taken exceedingly fair and good-faith approaches to discussing any critique of the language.
Their snark is reserved for the weird “anti-woke” crowd that hates Rust for some reason.
ocaml and haskell and erlang power like… a shitton of industry production code. If erlang software disappeared, internet dies for a bit until people replace all the broken routers.
Isn’t functional stuff closely related to type theory & type systems in all langs? In that sense, it’s prevented whole classes of bugs from ever getting to prod in the first place.
Responsible for 0% of code in production
Best code is no code at all
Depends very much on the language you’re using. Haskell and ocaml do fall into that category, whereas erlang and scheme are also functional languages with fairly weak typing.
If there is one thing that connects functional programming as a whole, it is that in FP, program flow is managed mostly through function application, instead of if statements and for/while loops.

Proud imperative stoneager here 🦍
Cavepeople together strong!
This meme is ass.
Got offended?
Nah. It’s underlying assumptions are wrong.
It’s obviously very exaggerated
Bob Martin himself having moved to a different category
Someone explain the Rustacean failing to support MacOS.
deleted by creator








