206
top 43 comments
sorted by: hot top controversial new old
[-] fckreddit@lemmy.ml 41 points 7 months ago* (last edited 7 months ago)

I love how JS is just a mutant blob of flesh.

[-] jonesy@aussie.zone 20 points 7 months ago
[-] SpaceNoodle@lemmy.world 12 points 7 months ago

Tetsuoooooo

[-] TrickDacy@lemmy.world 5 points 7 months ago
[-] xmunk@sh.itjust.works 8 points 7 months ago

I like Javascript... but it is certainly an unholy amalgamation of mismatched parts that, in the end, can get pretty much anything done if you don't mind 100+ node dependencies.

[-] noddy@beehaw.org 4 points 7 months ago

Should've made s typescript one, that is a mutant blob of flesh with a life jacket on it.

[-] owen@lemmy.ca 28 points 7 months ago

This is awesome. Rust wearing full plate armor to dinner is hilarious... Also what's up with Scala? lmao

[-] marcos@lemmy.world 11 points 7 months ago

Well, obviously she was already in full plate armor when her friends called, so why take it out?

[-] tatterdemalion@programming.dev 8 points 7 months ago

I assume Scala is like a "gateway" (drug) to functional programming by way of also supporting imperative and object oriented paradigms.

[-] BatmanAoD@programming.dev 3 points 7 months ago

Probably more importantly, it runs on the JVM and is designed to interoperate with existing Java code. (FWIW, I actually think they made a major mistake in how they handle null Java objects, and that Kotlin did better here; but Kotlin is much newer.)

[-] tatterdemalion@programming.dev 1 points 7 months ago

Oh good point I totally forgot it's a JVM lang.

[-] owen@lemmy.ca 2 points 7 months ago

Ouuu. This makes sense to me, well thought

[-] captain_aggravated@sh.itjust.works 2 points 7 months ago

And being the designated driver.

[-] Haus@kbin.social 13 points 7 months ago

My experience in going from C to C++ was different: if you're not converting everything from mallocs with custom addressing systems to the collections framework, you're not living.

[-] Jajcus@kbin.social 10 points 7 months ago

My experience with C++ was when C++ was a relatively new thing. Practically the only notable feature provided by the standard library, was that unholy abuse of bit shift operators for I/O. No standard collections or any other data types.

And every compiler would consider something else a valid C++ code or interpret the same code differently.

I am little bit prejudiced since then… and that is probably where the author is coming from too.

Then things were just getting more complicated (templates and other new syntax quirks), to fill the holes in attempts to make C a 'high level language'.

[-] AMDIsOurLord@lemmy.ml 8 points 7 months ago

C++ from 11 onwards started to really shine and since C++17 it's got some good shit inside

[-] Adanisi@lemmy.zip 1 points 7 months ago

Yeah wtf is up with the overridden bitshifts? Was Stroustroup drunk?

[-] xmunk@sh.itjust.works 0 points 7 months ago

It's a syntax sugaring and it reads pretty well in my eyes - it's really obvious what is meant by that syntax.

[-] tatterdemalion@programming.dev 8 points 7 months ago

Erlang really is the necromancer's language.

Why is Swift... like that?

[-] cicadagen@ani.social 7 points 7 months ago

Thanks for a good morning laugh!

[-] CanadaPlus@lemmy.sdf.org 5 points 7 months ago* (last edited 7 months ago)

This is epic.

Can anyone explain Java, PHP and Perl to me?

[-] xmunk@sh.itjust.works 9 points 7 months ago

Java is extremely widespread in corporate companies - hence the suit and tie. Perl is fair to liken to spelunking deep into a dark cave with only your wits to save you.

PHP seems to be a reference to the fact that it's extremely common on servers... but it also might be a lazy phpbad joke - it's pretty weak either way (if you wanted to play into the server characteristic give it a dozen arms serving the entire restaurant in the background).

[-] frezik@midwest.social 0 points 7 months ago

As a Perl dev, I dunno if that's how I'd characterize the language, but I'll take it over yet another "Perl is unreadable line noise lol and what's the deal with airline food" reference.

[-] xmunk@sh.itjust.works 0 points 7 months ago

Yeah, to be honest you can write good code in any language and it'll usually look pretty similar... all the perl stereotypes come from having to maintain shell scripts from someone kludging their way through learning to code... it's the same reason why phpbad, amateurs could get into webdev with php so there's an impression that all php is the php written by amateurs.

Also, bear in mind that over time these languages have converged through feature additions "LISP has functional programming - why can't PHP have first class functions... oh traits look neat, let's add that... you know those statically typed languages sure seem nice..."

[-] maniel@beehaw.org 3 points 7 months ago
[-] CanadaPlus@lemmy.sdf.org 1 points 7 months ago

That seems to be the consensus. That's pretty weak, salad people, you know you could have done better.

[-] tsonfeir@lemm.ee 5 points 7 months ago

Everyone hates on PHP and JavaScript.

[-] CanadaPlus@lemmy.sdf.org 9 points 7 months ago* (last edited 7 months ago)

JS, at least, deserves it.

[-] tsonfeir@lemm.ee 3 points 7 months ago

How do you feel about TypeScript

[-] muntedcrocodile@lemm.ee 7 points 7 months ago

U can try and polish a turd if ya want.

[-] tsonfeir@lemm.ee 2 points 7 months ago

Well, what TYPE of turd is it? ;)

[-] muntedcrocodile@lemm.ee 1 points 7 months ago
[-] tsonfeir@lemm.ee 1 points 7 months ago

You better catch that.

[-] CanadaPlus@lemmy.sdf.org 4 points 7 months ago* (last edited 7 months ago)

Better. Of course, it's just built over top, so you can still get JavaScript issues in TypeScript, and it's not necessarily going to be obvious. This is particularly an issue if you call JavaScript libraries, which I'm told is standard practice.

[-] MonkderZweite@feddit.ch 3 points 7 months ago

A more polished unholy list of depencies?

[-] xmunk@sh.itjust.works 2 points 7 months ago* (last edited 7 months ago)

The Javascript reference could be read as how every project ends up with an unholy list of npm dependencies - it's awful to look at but it works.

I think the PHP reference was just "idk servers or something?"

[-] nieceandtows@programming.dev 4 points 7 months ago

So, what makes Haskell god tier?

[-] AMDIsOurLord@lemmy.ml 25 points 7 months ago

Purely functional programming is a pathway to many abilities OOP devs consider to be... Unnatural

[-] CanadaPlus@lemmy.sdf.org 10 points 7 months ago

I think it's more the idea of being an abstract ideal. It's totally pure and often mathematical.

[-] Bonehead@kbin.social 6 points 7 months ago

Nothing...that's just how they perceive themselves.

[-] noddy@beehaw.org 2 points 7 months ago* (last edited 7 months ago)

IMO the ackchyually guy would be a better fit for Haskell. "Ackchyually monad is a monoid in the category of endofunctors!"

[-] pfm@scribe.disroot.org 3 points 7 months ago

I love Lisp dialects!

this post was submitted on 24 Mar 2024
206 points (95.6% liked)

Programmer Humor

19454 readers
20 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