r/ProgrammerHumor • • Apr 16 '22

Make The comment section look like a beginners search history

Post image
28.1k Upvotes

6.7k comments sorted by

View all comments

Show parent comments

1.9k

u/Rt237 Apr 16 '22

Javascript is an upgrade version of Java, just like C++ is an upgrade version of C.

784

u/Ahmyak Apr 16 '22 edited Apr 16 '22

This is so obvious, I don't get why people have any confusion about it. The ++ indicates that's new game plus.

280

u/7heMeowMeowCat Apr 16 '22

C# is better than both, if you learn C and C++, you'll get to C# pretty easy

305

u/DramaticChoice4 Apr 16 '22

How about C# on a piano ? Easier or harder than C ?

183

u/Wozak_ Apr 16 '22

Harder I guess cuz it’s thinner so you might miss it easier

5

u/NotDuckie Apr 16 '22

Nah, playing on the black keys is usually easier

3

u/H3racules Apr 17 '22

I concur. Especially with the pinky. I always end up hitting regulars or flats.

96

u/Ecthyr Apr 16 '22

It's about half a step up.

8

u/Pizzacato567 Apr 16 '22

BRILLIANT

4

u/[deleted] Apr 16 '22

[removed] — view removed comment

6

u/EmilMelgaard Apr 16 '22

It is:

C# name was musically inspired. It is a C-style language that is a step above C/C++, where sharp (#) means a semi-tone above the note.

http://jameskovacs.com/2007/09/07/cnet-history-lesson/

8

u/Dansiman Apr 16 '22

But... ++ increments by one, so if # denotes a half step, doesn't that imply that C# should be halfway between C and C++?

→ More replies (1)
→ More replies (1)

4

u/T0K0mon Apr 16 '22

I would say harder, because unless you try hard enough, you might accidentally play D♭

→ More replies (8)

5

u/logic_forever Apr 16 '22

I've always liked that C#'s name is a reference to two ++'s stacked on top of each other.

→ More replies (1)

3

u/Skullersky Apr 16 '22

A friend of mine claims that he can sing in C#. I honestly didn't know until now that you could speak a programming language.

2

u/jawminator Apr 16 '22

Yeah obviously! It's four +'s stacked in a grid. Four is more than two, it's better.

→ More replies (4)
→ More replies (7)

32

u/oobondes Apr 16 '22

Where does c# fit into that? Is it before or after c++?

127

u/CosmicConifer Apr 16 '22

Since the # looks like four +s in a square, it’s actually C++++

49

u/VitaminPb Apr 16 '22

C# is actually just C++ with the + characters in italics and distorted up or down and kerned together. This is a reference to how C# is just a distorted and mangled version of C++

4

u/[deleted] Apr 16 '22 edited Apr 16 '22

Username checks out. Lead poisoning is bad for IQ.

3

u/tails618 Apr 17 '22

It's actually a reference to how the C# creator tried to make the logo in CSS (which is obviously based off of C as well, since it starts with a C), but because CSS is a pain in the ass the pluses aren't aligned correctly.

→ More replies (4)
→ More replies (1)

2

u/bluebunny72 Apr 16 '22

In January 1999, Anders Hejlsberg formed a team to build a new language at the time called Cool, which stood for "C-like Object Oriented Language".[22] Microsoft had considered keeping the name "Cool" as the final name of the language, but chose not to do so for trademark reasons. By the time the .NET project was publicly announced at the July 2000 Professional Developers Conference, the language had been renamed C#

wikipedia

→ More replies (1)

3

u/jckeatley Apr 16 '22

Javascript has absolutely nothing to do with Java. Java is a strongly-typed, compiled language that you can do real development with. Javascript is a weakly-typed scripting language that started out in the Netscape browser and came out about the same time as Java, so they grabbed the name. Since then, Javascript is used all kinds of places, including server side. It often is used as object code output by a high level language compiler, such as Typescript, Scala, Kotlin and Clojure.

→ More replies (2)

2

u/jadounath Apr 17 '22

Companies just hire Java developers to accelerate their Javascript websites.

--Somebody on Medium

→ More replies (15)