this post was submitted on 25 Oct 2023
872 points (90.7% liked)

Programmer Humor

32479 readers
252 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] morrowind@lemmy.ml 73 points 1 year ago (7 children)

C++ and ruby are weird, especially since C is somehow considered a reliable rifle. Rust betrays it's age

[–] fckreddit@lemmy.ml 68 points 1 year ago

C is reliable in the sense that your C program reliably has memory leaks and security holes.

[–] Jesus_666@feddit.de 25 points 1 year ago (1 children)

As does C#. The Windows-specific parts are not the parts most developers will use these days.

[–] pipe01@lemmy.pipe01.net 24 points 1 year ago (1 children)

I took it as the donkey being .NET

[–] _danny@lemmy.world 12 points 1 year ago (2 children)

C# is .Net though. It's only syntax without it.

I think it's definitely a dig at windows, because that used to be the primary issue with c#, you could only really target windows and you could only write it using windows. You could run .net framework applications on Linux, but it was a lot of work and it really underperformed (which would fit the timeline of 2015, when this comic was first posted). Now with .net core you can make a self contained executable that can run on anything.

[–] scottyjoe9@sh.itjust.works 2 points 1 year ago

You can even compile to a native executable these days I believe so you don't have to have the .net runtime installed or bundled.

[–] trolololol@lemmy.world 0 points 1 year ago

2015? I'm sure last time I saw this it was way before 2015

[–] DieguiTux8623@feddit.it 15 points 1 year ago* (last edited 1 year ago)

Agree. That one didn't age well...

[–] frezik@midwest.social 15 points 1 year ago

The M1 Garand is known for having a problem during reloading where you have to stick your thumb in a slot that's about to shut very hard. There are techniques to avoid getting pinched, but "Garand thumb" is a well-known phrase among vintage rifle enthusiasts.

This fits C very well.

[–] MonkderZweite@feddit.ch 9 points 1 year ago* (last edited 1 year ago) (1 children)

C is a knife. The basic thing you can build weapons (programming languages) with.

[–] TheBat@lemmy.world 2 points 1 year ago (2 children)
[–] nickwitha_k@lemmy.sdf.org 4 points 1 year ago

Yes. Knives can also be used as screwdrivers for fasteners with a "blade" or "flat" head.

[–] dylanTheDeveloper@lemmy.world 2 points 1 year ago (1 children)

It's a screwdriver without a head because you have to build it yourself

[–] uis@lemmy.world 2 points 1 year ago (1 children)

You are confusing C with UNIX

[–] dylanTheDeveloper@lemmy.world 1 points 1 year ago

same difference

[–] Pipoca@lemmy.world 4 points 1 year ago

The old joke is that C++ is an octopus made by nailing legs to a dog.

So it should probably be a rifle-chaku made by connecting two Garands with a chain.

C# vs Java is also really weird since C# started out as basically a Java clone.

I watched Jon Gjenset's stream where he implemented the beginnings of a BitTorrent client in Rust and of the four hours about 25% of it was spent wrestling with quirks in serde and reqwest.

It was pretty discouraging watching a pro have to fight the ecosystem so hard.