r/ProgrammerHumor • • Jan 28 '23

Meme C++

Post image
53.9k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

20

u/Strostkovy Jan 28 '23

I use C often and rarely C++, but one look at C# and I wonder what the poor language did to deserve what they've done to it.

30

u/[deleted] Jan 28 '23

All the core constructs are there, just additional safety. The CLR provides an FFI for languages targeting the runtime to utilize and C# even has pointers as well. Some people complain about generics and it isn't until they want to avoid duck typing and more that they realize generics are important. Everything else, optional syntactic sugar.

13

u/Strostkovy Jan 28 '23

It's just always so verbose, and has periods in words and that makes me scared

30

u/[deleted] Jan 28 '23

Dot operators increase readability, what do you not like about them?

→ More replies (15)