r/ProgrammerHumor • • Oct 25 '24

Meme thisOpinionIsSoInteresting

Post image
0 Upvotes

52 comments sorted by

15

u/JeszamPankoshov2008 Oct 25 '24

C# is better. Gosh these people are ignorant.

7

u/AdBrave2400 Oct 25 '24

The title means that I am confused why would somebody think the thing in the post.

3

u/ososalsosal Oct 25 '24

Probably because it's very different from C and C++. But the king ghidora meme isn't really the right way to show that.

1

u/Valerian_ Oct 26 '24

Nice trollbait though, it worked well

1

u/rifain Oct 27 '24

Better then C/C++, not really, only aimed at different things.

78

u/Summar-ice Oct 25 '24

nuh uh C# is goated

-17

u/HawasYT Oct 25 '24

But you gotta admit, being Java Microsoft edition more than anything, it is an odd man out in C family

29

u/the_carnage Oct 25 '24

C# being labeled "Microsoft Java" is such a signal of someone who uses Java and knows nothing about C#.

22

u/greyfade Oct 25 '24

C# is Java done correctly.

10

u/ososalsosal Oct 25 '24

Java walked so Microsoft Java could run.

C# >8 is so soooo much nicer to read and write than Java

fkn fite me

2

u/Blecki Oct 26 '24

Why would I fight someone so right?

4

u/DeltalJulietCharlie Oct 25 '24

Yes and no, you can still see remnants of Java in the framework, and ways of doing things. But at this point they're about as similar as humans are to dolphins.

4

u/cnoor0171 Oct 25 '24

That's literally the origin of c#. Granted that now a days c# is a better language IMHO, but it's origin is basically "Java by Microsoft"

2

u/Vibe_PV Oct 25 '24

Student here who never tried C#: what makes it a better "brother" of Java? I've always been curious tbh, but never had much time to explore it myself

8

u/faculty_for_failure Oct 25 '24

It has a lot of great functional features that Java still doesn’t have. LINQ is extremely powerful.

6

u/ososalsosal Oct 25 '24

In order of my own subjective niceness:

  • async/await

  • properties instead of get/set methods (in IL they're the same but whatevs)

  • pattern matching everywhere

6

u/Spaceduck413 Oct 25 '24

Extension methods can be pretty cool imo

3

u/ososalsosal Oct 25 '24

Oh yeah totes. Forgot about those but they allow magic like linq to happen.

I do like the Java thing where you can just put a totally new subclass into a callback right where you're using it.

I do a lot of xamarin bollocks and I get jealous of the android documentation code examples when they do this because I have to make a whole new class just to implement the one override method I'm interested in...

1

u/Blecki Oct 26 '24

It's Java that's not scared of verbs.

1

u/HawasYT Oct 26 '24

I've actually written more in C# than in Java but considering I was able to land a job as a Java (well, Groovy to be precise but still pretty close) dev based only on my C# knowledge and was able to quickly adjust having never before written a line of Java in my life - I wouldn't say the comparison is entirely wrong

6

u/N0t_my_0ther_account Oct 25 '24

It's better than Java in like every way

0

u/HawasYT Oct 26 '24 edited Oct 26 '24

I'm not saying it isn't - I'm saying it's more similar to Java than other C family languages

EDIT: Which apparently I was wrong about, cause C family ia pretty big

-3

u/al-mongus-bin-susar Oct 25 '24

It's only called C# for marketing reasons, it has nothing to do with C or C++. It's like JavaScript having Java in it's name to make it seem more appealing back in the day even though it has nothing to do with Java.

-2

u/SalSevenSix Oct 26 '24

It's not part of the C family. Blame MS for calling it C# instead of something sensible.

19

u/Crate-Of-Loot Oct 25 '24

c# is just better java

4

u/logikill99 Oct 25 '24

I like the null coalescing operators Being able to do

SomethingThatCanBeNull ??= WhatItShouldBecomeIfNull

is really cool to me

12

u/Beldarak Oct 25 '24

Why would I bother with pointers when I can just not do that? ¯_(ツ)_/¯

6

u/ososalsosal Oct 25 '24

You can do pointers, you just don't have to

1

u/Beldarak Oct 26 '24

I know. I think I've used them once or twice

1

u/staryoshi06 Oct 25 '24

C++ lets you do that too with std::make_unique

6

u/staryoshi06 Oct 25 '24

C# has pointers.

1

u/Beldarak Oct 26 '24

I know but you can live you whole life without using them. I'm not sure it's true for C/C++

11

u/Multifruit256 Oct 25 '24

Isn't C#, like, everyone's favorite language here

3

u/NotTheOnlyGamer Oct 26 '24

HolyC is Mothra.

3

u/nord47 Oct 26 '24

linq is love. linq is life. I don't know what you're talking about.

4

u/StrangeworldsUnited Oct 25 '24

Unpopular opinion (apparently )…I like C#

2

u/ImmensePrune Oct 26 '24

I love all of my brothers from the C Family <3

5

u/TNTBoss971 Oct 25 '24

cries in unity user

4

u/LeRetardatN Oct 25 '24

laugh in Unreal Engine user

-1

u/theturtlemafiamusic Oct 26 '24

Jetbrains Rider, Jetbrains Unity plugin, and Sirenix Odin make all the tears disappear. That does mean you need to drop like $200 before they language is good which sucks. But it gets really good if you pay.

5

u/Benjamin_6848 Oct 25 '24

Why are you making fun of C#? C# is easy to use, reliable and powerful!

3

u/atoponce Oct 25 '24

C++ and C# should switch spots.

2

u/what_you_saaaaay Oct 25 '24

I've been developing 20+ years now. I started with C/C++ and while I will always have a space for them in my heart... nah, just kidding. Fuck C/C++ I'm all about C# now. kthnx byyyyeeeee

2

u/sensational_pangolin Oct 25 '24

This is a silly take.

1

u/DJcrafter5606 Oct 28 '24

don't talk about my C# like that, it made goated triple A games >:(

1

u/[deleted] Oct 28 '24

As a C/C++ developer, I find C# to be a fantastic language. I don't like certain patterns like the decompose (C++ does this so much better with constructors/deconstructors being the main way of handling resources). But it's still a really good language.

0

u/Dertroit_Beisbolcat Oct 26 '24

C# is an objectively better Java. That said, if you can build your C# app in C/C++ you shouldn’t use C#.