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

Programmer Humor

31340 readers
1272 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] hperrin@lemmy.world 242 points 8 months ago* (last edited 8 months ago) (6 children)

You can definitely tell how old it is because both Rust and 3D printed guns have gotten way better.

And TypeScript is just the JavaScript sword, but with a cheap leather hilt.

[–] ours@lemmy.world 47 points 8 months ago (1 children)

And C# now can be taken off the donkey and mounted on a penguin and works rather well.

[–] Matombo@feddit.de 5 points 8 months ago

Now i can't get that picture out of my head. Its amphibious too!

[–] flying_sheep@lemmy.ml 36 points 8 months ago* (last edited 8 months ago) (1 children)

It's a heavy duty hilt that's easily detachable by a small recessed switch labeled “any”.

(It does its job very well as long as you don't opt out of using it)

[–] frezik@midwest.social 18 points 8 months ago (1 children)

Except the tool you use to build the hilt in the first place has 100 permutations of settings, and most of them kill you on the spot.

[–] abraxas@sh.itjust.works 3 points 8 months ago

I'll take .tsconfig and .webpackrc over C# .config files every day of the week.

[–] 9point6@lemmy.world 32 points 8 months ago

because it makes it (type)safe to use..!

[–] alokir@lemmy.world 27 points 8 months ago* (last edited 8 months ago) (3 children)

Also C# (or should I say the .net framework) is now cross platform, which wasn't really the case when I first saw this meme.

This joke made sense when instead of .net you could only use Mono with C# on other platforms, which wasn't very good at the time.

[–] r00ty@kbin.life 9 points 8 months ago

Yes, especially when you're running linux, and the project you started on windows that uses serial ports suddenly doesn't work any more and you wonder why.

Hint: The events for serial data received didn't fire under mono, for reasons.

[–] ours@lemmy.world 8 points 8 months ago

Mostly right. Microsoft showed off how .NET 1.0 worked on FreeBSD but it was absolutely pointless since they didn't provide commercial licenses to run it on anything else but Windows until .NET Core.

[–] dan@upvote.au 8 points 8 months ago* (last edited 8 months ago)

I hosted my personal site using Mono over 10 years ago now and it mostly worked well. I contributed some code to Mono to fix a few edge cases where their behaviour deviated slightly from Microsoft's.

Of course, I couldn't actually look at Microsoft's shared source code when doing that, so I had to just observe its outputs. At the time, Mono code had to all be clean-room implementations, since Microsoft's shared source program, where they released parts of the .NET Framework 4.x source code publicly, had a very restrictive license that didn't permit reuse (it wasn't open-source). Even just looking at the code meant you couldn't contribute to Mono.

I was very happy when .NET Core was announced and switched to a beta of 1.0 as soon as I could.

[–] pingveno@lemmy.ml 17 points 8 months ago

And Python's migration to 3.x is more or less complete. Took a while (15 years since 3.0), but it's to the point where migration is not a common topic of conversation.

[–] Pyroglyph@lemmy.world 2 points 8 months ago (1 children)

Perhaps a paper hilt. It'll trick some people into thinking it's safer but as soon as you begin using it you realise it still has all the same problems as before.

[–] hperrin@lemmy.world 3 points 8 months ago

I don't know, man. I migrated one of my libraries and found 3 bugs just from that. It's prevented a number of other bugs and issues too.