397
Choose your path! (feddit.org)
top 50 comments
sorted by: hot top controversial new old
[-] balsoft@lemmy.ml 1 points 15 hours ago

The functional elitist is actually running Yi in XMonad on Guix.

[-] tatterdemalion@programming.dev 2 points 1 day ago

Someone explain the Rustacean failing to support MacOS.

[-] red_tomato@lemmy.world 134 points 2 days ago

The OOP boilerplater is the only one with a job.

[-] rainwall@piefed.social 125 points 2 days ago* (last edited 2 days ago)

Imperative stonager works there too. You've just never seen him because he hasen't accepted a meeting invite is 14 years.

[-] pinball_wizard@lemmy.zip 39 points 2 days ago

You've just never seen him because he hasen't accepted a meeting invite is 14 years.

And counting!

[-] leftzero@lemmy.dbzer0.com 14 points 2 days ago

I like the functional parts of C♯, though.

[-] Zos_Kia@lemmynsfw.com 23 points 2 days ago

Love that you put a real musical sharp and not that ugly #

load more comments (2 replies)
load more comments (3 replies)
load more comments (1 replies)
[-] termaxima@slrpnk.net 9 points 2 days ago

Proud imperative stoneager here 🦍

load more comments (1 replies)
[-] bdonvr@thelemmy.club 52 points 2 days ago

Watches Computerphile, thinks it's actual programming

What is this even supposed to imply

[-] call_me_xale@lemmy.zip 35 points 2 days ago

Yeah, I'm kinda confused by that one too—Computerphile is CS theory, not software engineering.

[-] sukhmel@programming.dev 17 points 2 days ago

I think, the point is Haskell is more CS theoretical than practical language and anyone who uses it (or any other FP) has never written a single line of production code (the last statement is even in the meme)

Personally, I love that series. I guess whoever made this meme thinks people who watch the show are trying to implement their code examples in production.

load more comments (1 replies)
[-] Jankatarch@lemmy.world 9 points 2 days ago

More like mix and match your path lmao.

[-] dreadbeef@lemmy.dbzer0.com 7 points 2 days ago

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.

[-] Kache@lemmy.zip 2 points 1 day ago* (last edited 1 day ago)

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

[-] Crazazy@feddit.nl 1 points 1 day ago

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.

[-] PokerChips@programming.dev 41 points 2 days ago

I feel like the author is a MacBook user.

[-] yogurtwrong@lemmy.world 9 points 2 days ago

Imperative stoneagers getting an old MacBook from somewhere and going "huh, I guess its UNIX" is probably true though

[-] palordrolap@fedia.io 22 points 2 days ago

history | grep -E '(sed|grep|awk|perl)' | wc -l 107

Dang. That's out of 1000. I need to up my game. Also three of those seds are part of something with a -basedir and 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 apt and man and ls. I think apt is 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.

load more comments (2 replies)
[-] craftrabbit@lemmy.zip 9 points 2 days ago

I've been shifting around, but never to the OOP boilerplater. I despise Java.

load more comments (1 replies)
[-] 6nk06@sh.itjust.works 35 points 2 days ago

I was triggered at every panel, it's unacceptable!

[-] passepartout@feddit.org 34 points 2 days ago

I hope no one got left unoffended

[-] dantel@programming.dev 2 points 1 day ago

The imperative stoneager feels like the most favored one, there are no real negatives listed there. All that’s listed are things they usually pride themselves on.

load more comments (1 replies)
[-] goatinspace@feddit.org 14 points 2 days ago
[-] freohr@lemmy.world 14 points 2 days ago

Uses neovim with gruvbox theme on arch

Damn, why are you calling me out personally? Though I use it to write python scripts and LaTeX, not rust...

[-] itkovian@lemmy.world 24 points 2 days ago

I don't belong to any of the above. Am I even a programmer at this point?

[-] marcos@lemmy.world 22 points 2 days ago

I belong to all of them. Same question.

[-] sukhmel@programming.dev 14 points 2 days ago

You've transcended programming

load more comments (1 replies)
[-] Atlas_@lemmy.world 19 points 2 days ago
load more comments (1 replies)
[-] potatoguy@lemmy.eco.br 28 points 2 days 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 days 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 1 day ago* (last edited 1 day 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.

[-] red_tomato@lemmy.world 14 points 2 days ago

The FP in Java is still leagues better than whatever the C++ committee cooked up.

[-] marcos@lemmy.world 13 points 2 days ago

Just let C++ die already, and stop pretending it's a reasonable thing to compare other languages with.

If you can't do it in C, you are better in Java, Python, Haskell, whatever.

load more comments (1 replies)
load more comments (4 replies)
load more comments (2 replies)
[-] ArrowMax@feddit.org 13 points 2 days ago

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

load more comments (2 replies)
[-] andioop@programming.dev 20 points 2 days ago

OOP boilerplater except for the Windows bit; trying to slowly move off proprietary software and choose open source when I can

[-] Electricd@lemmybefree.net 4 points 2 days ago
[-] andioop@programming.dev 2 points 1 day ago

also a JetBrains enjoyer :( one day I'll teach myself to like VSCode as much as I like JetBrains

[-] passepartout@feddit.org 11 points 2 days ago* (last edited 2 days ago)

Same honestly, it's a hustle to convince the Java EE dinosaurs of new paradigms. Never going back to Micro$lop though.

[-] orochi02@feddit.org 2 points 1 day ago* (last edited 1 day ago)

Functional streams are a good start

[-] 9point6@lemmy.world 23 points 2 days ago* (last edited 2 days ago)

Oh, I guess I'm a stoneager with a penchant for functional elitism then.

Though I will admit OOP is valid for involved data modelling, everything else should be functional though.

I've also trained myself out of most short variable names for maintainability reasons

[-] masterspace@lemmy.ca 18 points 2 days ago* (last edited 2 days ago)

Outside of the for loop counters i and j, short variable names are awful. Coming back to old code written with abr var nams is like talking to someone in the military who just constantly throws out jargon and acronyms that they know you don't know.

But so are Java style ObserverFactoryManagerTemplateMachinistTemplater names.

There's a sweet middle ground of short, but actually descriptive name. Sometimes it's not possible but that's usually a code organization / language / framework smell.

Too short variable names is usually a sign that you need to use a proper ide, with auto complete, or that you need to use a proper build process that will minify your code after the fact.

Too long names are usually a sign that your module of code (function, class, namespace, etc) is too large, or that your language/framework naming conventions are too strict, or the language doesn't encapsulate scope properly.

load more comments (11 replies)
load more comments (2 replies)
[-] not_woody_shaw@lemmy.world 22 points 2 days ago

"Writes code on paper to avoid side effects" - ROFL

load more comments (1 replies)
[-] someacnt@sh.itjust.works 8 points 2 days ago

That's such a way to dismiss the theory and academia

[-] it_depends_man@lemmy.world 13 points 2 days ago
  • this post was made by the imperative stoneager gang
load more comments
view more: next ›
this post was submitted on 11 Jan 2026
397 points (92.3% liked)

Programmer Humor

28421 readers
1281 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