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

Programmer Humor

19692 readers
74 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
[–] [email protected] 98 points 8 months ago* (last edited 8 months ago) (2 children)

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

[–] [email protected] 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".

[–] [email protected] 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 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 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.

[–] [email protected] 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

[–] [email protected] 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 8 points 8 months ago (1 children)

Would the equivalent Rust trait be Crack?

[–] [email protected] 15 points 8 months ago (2 children)
[–] [email protected] 5 points 8 months ago (1 children)
[–] class_d_fire 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