this post was submitted on 25 Oct 2023
849 points (90.4% liked)

Programmer Humor

32692 readers
390 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
[–] hperrin 242 points 1 year ago* (last edited 1 year ago) (7 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 45 points 1 year ago (1 children)

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

[–] [email protected] 5 points 1 year ago

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

[–] [email protected] 34 points 1 year ago* (last edited 1 year 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)

[–] [email protected] 17 points 1 year 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.

[–] [email protected] 2 points 1 year ago

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

[–] 9point6 32 points 1 year ago

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

[–] alokir 25 points 1 year ago* (last edited 1 year 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.

[–] ours 8 points 1 year 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.

[–] [email protected] 8 points 1 year 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.

[–] [email protected] 7 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 16 points 1 year 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 2 points 1 year 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 3 points 1 year 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.

[–] AtHeartEngineer 1 points 1 year ago

And I haven't seen anything python 2 in a while