this post was submitted on 14 Mar 2024
1284 points (98.5% liked)

Programmer Humor

19623 readers
1 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] AeonFelis@lemmy.world 98 points 8 months ago* (last edited 8 months ago) (2 children)

C# should actually be "What Java said, except it's ICrackable".

[–] warlaan@lemm.ee 38 points 8 months ago (1 children)

No, actually C#'s answer should be: "What Java said - hold on, what Python said sounds good too, and C++'s stuff is pretty cool too - let's go with all of the above."

C#, or as I like to call it "the Borg of programming languages".

[–] dependencyinjection@discuss.tchncs.de 10 points 8 months ago (2 children)

I got my first software developer role last year and it was the first time I’d written C#, I was more TypeScript. Now we use both but I must say I really like C# now that I’m used to it.

[–] LeFantome@programming.dev 6 points 8 months ago (1 children)

I think most programmers would like C# if they spent time with it. It is getting a bit complex because the joke about it over borrowing from other languages is on the money. It is a nice language though and pretty damn fast these days all things considered.

[–] Scoopta@programming.dev 1 points 8 months ago

There's too much MS in the language and runtime for me. The fact that it gives my Linux programs DLL files and the fact that by default the SDK phones home makes me run away in horror from not only writing it but also running other projects written in it.

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

even nicer is F#. join us brother, you can do everything that you can do in C# but better

[–] dependencyinjection@discuss.tchncs.de 1 points 8 months ago (1 children)

What does it offer that would make it better? Just curious and I’m not in a position to change out tech stack at work though.

[–] callumbirks@programming.dev 8 points 8 months ago (1 children)

Would the equivalent Rust trait be Crack?

[–] blackstampede@sh.itjust.works 15 points 8 months ago (2 children)
[–] taaz@biglemmowski.win 5 points 8 months ago (1 children)
[–] class_d_fire@programming.dev 5 points 8 months ago* (last edited 8 months ago)

Into's type parameter has an implicit Sized bound. I think AsRef<dyn Crack> would be the trait of choice :D