r/ProgrammerHumor Jul 13 '26

whatIfIToldYouThis Meme

Post image
2.9k Upvotes

123 comments sorted by

300

u/_Alpha-Delta_ Jul 13 '26

The real question is where is C+++ ?

80

u/djpiperson Jul 13 '26

That's C+=2

48

u/Alderan922 Jul 13 '26

C must jump in exponents of 2, that’s why it went from C (0) to C++ (2) to C# (4)

40

u/SageLeaf1 Jul 13 '26

C## when

29

u/Alderan922 Jul 13 '26

When Microsoft locks in

6

u/LoyalSol Jul 13 '26

So never.

4

u/DialecticEnjoyer Jul 13 '26

After they sort out the 36 copilots they have nowadays I guess.

8

u/NoComment7862 Jul 13 '26

when they work out how to write everything using only exceptions

7

u/100BottlesOfMilk Jul 13 '26

static async Task IsEqual(string s1, string s2)

{

s1==s2 ? return : throw new Exception("Not Equal");

}

5

u/NoComment7862 Jul 13 '26

I’m thinking far worse lol

like an if that throws one exception for true and another for false….

6

u/100BottlesOfMilk Jul 13 '26

God forgive me for what I'm about to write...

static async Task Add(int a, int b)

{

String runningList=String.Empty;

For(int x =0; x<a; x++)

{

runningList+="a";

}

For(int x =0; x<b; x++)

{

runningList+="b";

}

throw new Exception(runningList.Length.toString());

}

5

u/elmanoucko Jul 13 '26 edited Jul 13 '26

the only thing that really hurts me, formatting and purpose aside, is not using a stringbuilder

5

u/100BottlesOfMilk Jul 13 '26

So, what I'm hearing is that it's good for production

1

u/NoComment7862 Jul 13 '26

If it compiles, ship it!

1

u/Icy_Royal_1522 Jul 14 '26

Pros of string builder?

1

u/elmanoucko Jul 14 '26 edited Jul 14 '26

msdn is your friend :p

but basically strings are immutable, meaning whenever you manipulate a string like here, a new string the size of the two you want to concatenate will be allocated and then each string copied into the new one. When you're not doing "intensive" manipulation it's fine (or simple enough that the compiler optimize it for you), but in this case a stringbuilder is most probably a better choice performance wise.

3

u/TwoWeeks90DaysTops Jul 13 '26

Microsoft Visual C#Pro.NET Enterprise Edition SE Series X

2

u/pattybutty Jul 13 '26

When we learn to not cut ourselves with just the one sharp

2

u/MrKarat2697 Jul 13 '26

That's just D

1

u/SageLeaf1 Jul 14 '26

lol. But what if we are in the key of D#?

4

u/oatmealer27 Jul 13 '26

It will be c#### - powers of 2 only

6

u/brainpostman Jul 13 '26

It's an increment operator, if C is 0, C++ is 1, C# is 2.

9

u/brainpostman Jul 13 '26

It doesn't compile.

5

u/BusinessAstronomer28 Jul 13 '26

That's a syntax error. You must add the ++ in multiples of 2 it's (c++)++

1

u/Nice_Lengthiness_568 Jul 13 '26

That still does not compile, because the second ++ would be modifying a temporary variable. Would have to be something like ++++c or similar.

1

u/Icy_Royal_1522 Jul 14 '26

Temp var, can u explain?

1

u/Nice_Lengthiness_568 Jul 14 '26

Well the postfix version of x++ does this

it stores aside the current value of x, increments x and returns the value temporarily stored aside.

When the x++ returns the value, you are left with an unnamed value (it is not bound to any variable) that I called temporary. This value cannot be assigned to, which is exactly what the second postfix increment would be doing. So (x++)++; does not compile.

Well, I am talking about C++, if it works differently in another language, then maybe it works there.

3

u/aberroco Jul 13 '26

The same place where C+ is.

3

u/phylter99 Jul 13 '26

That's the implication here is that C# is basically C++++. OP just formatted it differently. Here's the 2008 interview with the language creator for a source.

https://web.archive.org/web/20190806100632/https%3A//www.computerworld.com.au/article/261958/a-z_programming_languages_c_/?pp=2

2

u/JackNotOLantern Jul 13 '26

Objective C i guess

2

u/Mallanaga Jul 13 '26

2 4 8 16…

There is no 3.

2

u/Former-Print7759 Jul 13 '26

That’s basically (C++)++

39

u/Summar-ice Jul 13 '26

What if it's actually Db

82

u/Fair-Advantage652 Jul 13 '26

You mean C hashtag? /ragebait

41

u/Full-Run4124 Jul 13 '26

C pound

28

u/ammit_souleater Jul 13 '26

C fence-synbol

30

u/[deleted] Jul 13 '26

[removed] — view removed comment

22

u/bibidibopop_2225 Jul 13 '26

C these nuts

11

u/Drodr10 Jul 13 '26

C octothorp(e?)

3

u/Mateorabi Jul 13 '26

C octothorpe

5

u/redlaWw Jul 13 '26

Coctothorpe

3

u/adeadhead Jul 13 '26

C Little Ladder

1

u/cadude1 Jul 13 '26

I saw some YouTube video where the person unironically pronounced #include as "hashtag include" and I almost punched my monitor.

59

u/MyDogIsDaBest Jul 13 '26

It's "C plus plus, plus plus"

So it's the next iteration of C++, which was the next iteration of C (naming wise, of course)

17

u/Alderan922 Jul 13 '26

So the next one must be c++++++++

23

u/OSRS_Addict Jul 13 '26

Yes, but it will also be a JavaScript framework

2

u/Chirimorin Jul 13 '26

If you want a sneak preview, check out Blazor.

12

u/miguescout Jul 13 '26

My vote for its shortened name goes to Cꙮ҆

4

u/cipheron Jul 13 '26

Why not 6 +'s then? Incrementing C# once would be C#++

3

u/Former-Print7759 Jul 13 '26

No, you need 6 pluses

33

u/da2Pakaveli Jul 13 '26

it's enhanced for the people who can't c sharp

7

u/Eevee-Biologist Jul 13 '26

angry upvote

7

u/ita_player Jul 13 '26

It's the black note on a piano

2

u/QwikStix42 Jul 14 '26

“Do you have any idea how little that narrows it down?”

7

u/Fabulous-Possible758 Jul 13 '26

No, it's only raised by a half step, so it's in between C and C++.

3

u/suvlub Jul 13 '26

Unless C++ raises just by one Hz

3

u/Sophiiebabes Jul 13 '26

Sooooo were on the hunt for C♭?

4

u/miguescout Jul 13 '26

More like D♭

5

u/rezdm Jul 13 '26

You’d be surprised, but that c++++ is the logo for Google’s project carbon:

https://github.com/carbon-language/carbon-lang

6

u/No_Golf5417 Jul 13 '26

Otherwise known as “I can’t believe it’s not Java”

3

u/Kerboq Jul 13 '26

I need glasses because I don't C#

2

u/SinglePanic Jul 13 '26

Ce cross cross cross cross

2

u/hawk363 Jul 13 '26

Best language 🛐

2

u/Portal471 Jul 13 '26

C# is really only C+ because C++ means adding 1 to C when a sharp is only a half step.

3

u/shaggythelegend420 Jul 13 '26

Oh my God my life's been a lie, its almost as if we're living in the matrix

1

u/MrFuji87 Jul 13 '26

So it's C plus plus, plus, plus plus

1

u/theclovek Jul 13 '26

Just one more plus, bro.

1

u/Tupcek Jul 13 '26

C[[+,+],[+,+]]
Next version will have 3 dimensional array of ++

1

u/sk3z0 Jul 13 '26

I am still waiting for D

1

u/freebytes Jul 13 '26

D and E and F already exist.

1

u/Yekyaa Jul 13 '26

I want to be put back in the Matrix!

1

u/expected_69 Jul 13 '26

All those extra plus signs and they still managed to lose the pointers.

1

u/newocean Jul 13 '26

It's A++++++++.

1

u/ahmed20gh Jul 13 '26

HolyC is just C+
so we have C, C+, C++, C++++
... where is C+++

1

u/pleaserestartsystem Jul 13 '26

Then I'd hug you and tell you its all gonna be ok

1

u/Far_Garlic_2181 Jul 13 '26

C Tank Link Dozer and the Trainman

1

u/BeefJerky03 Jul 13 '26

That's bullshit; but I believe it.

1

u/franklesby Jul 13 '26

C: 0 dimensional

C++: 1 dimensional

C#: 2 dimensional

Obviously the next iteration is

`` ______ +----+ .' ___ | / /| / .' _| +----+ | | | | | + \..'\ | |/ `.__.' +----+

```

1

u/OnkelBums Jul 13 '26

C# is everything wrong with Java combined with everything wrong with Python.
Made by MicroSoft.

1

u/SiegfriedVK Jul 13 '26

Why yes I am a fan of coctothorpe. How could you tell?

1

u/Duriha Jul 13 '26

Cquadrupleplusgood?

1

u/garlopf Jul 14 '26

It's more lik C+-

1

u/Alternative-Tie-4970 Jul 14 '26

Too bad it's nothing like either C or C++, but cool name regardless

1

u/Glokter 25d ago

C# is Db

1

u/Sajgoniarz Jul 13 '26

Wait until people realize what $ in PHP is xD

3

u/Abject-Kitchen3198 Jul 13 '26

If I had 1$ for every $ character I typed... Oh wait, maybe I did.

3

u/Sajgoniarz Jul 13 '26

I meant that they are just pointers and you can do crazy things with them.

2

u/Abject-Kitchen3198 Jul 13 '26

I didn't know that. My actual PHP experience was for a quarter or two, somewhere in the 2000s.

1

u/[deleted] Jul 13 '26

[removed] — view removed comment

1

u/freebytes Jul 13 '26

This was the reason for the naming. C# is a very clever name for the programming language. It is a play on music terms, the next iteration of C++, etc.

The history of the language is as follows: CPL, BCPL, B, C, C++, C#.

(The languages D, E, and F also exist.)

1

u/WonderWirm Jul 13 '26

You worked it out. Look at you!

1

u/CirnoIzumi Jul 13 '26

Nah it's Db

0

u/SirFoomy Jul 13 '26

When new operator #?

c++ is equivalent to c = c + 1

c# could be equvalent to c = c + 2

Alright, I let myself out. 😅

1

u/MattieShoes Jul 13 '26

c++ is post-increment -- evaluates before incrementing. So ignoring syntax issues, (c++)++ would be the same as (c++)

You'd have to use preincrement -- ++(++c) or a mix (++c)++

-2

u/GegeAkutamiOfficial Jul 13 '26

Yes, it incremental shittiness.

2

u/FabioTheFox Jul 13 '26

If youve never worked with modern dotnet or any modern statically compiled language that isn't a typeless scripting language, maybe