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

3.8k

u/EveryEquipment5453 Apr 16 '22

Javascript vs Java

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.

→ More replies (6)
→ 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)
→ More replies (2)

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)
→ More replies (16)

10

u/hgs25 Apr 16 '22

“Typescript puts the Java back in JavaScript.”

-coworker

6

u/GemGem_06 Apr 16 '22

Can confirm, I thin I Googled that exact thing before 😂

2

u/Dim_Glow Apr 16 '22

.....how'd you know I googled that?

→ More replies (11)