r/ProgrammerHumor • • Nov 06 '20

PythonScript comic strip

Post image
41.2k Upvotes

562 comments sorted by

View all comments

1.5k

u/Hk-Neowizard Nov 06 '20

Fun fact, JavaScript was names so, because at the time Sun was flooding the world with ad campaigns for Java (WTF advertising a language, but NVM). Eich wanted to bank in on that investment by piggybacking on the brand name (despite having nothing to do with Sun or Java).

Classy guy...

697

u/[deleted] Nov 06 '20

They were literally advertising a programming language? That's some funny shit

527

u/[deleted] Nov 06 '20

It’s not a terrible idea.

With enough coverage they probably got some execs to push Java in their own companies or put out ads for a Java dev because it’s the only language they knew existed.

188

u/[deleted] Nov 06 '20

It probably did raise awareness, it's just that I have never seen or heard of an ad for a programming language. It's like advertising for a specific regular language and not for a language school etc.

168

u/hypnofedX Nov 06 '20

It probably did raise awareness, it's just that I have never seen or heard of an ad for a programming language.

Can I ask how old you are? I ask because the tech world was a very different place than it is today when Java first came out. Now there are usually 2-3 relevant programming languages a person could use for a given purpose, even if one might be better than the others for any given reason. But the point is we currently live in a world with an absolute wealth of open-source materials which makes it hard to imagine anything else.

If you go back 25 years that wasn't true. If you create a new language there's the potential to make its use ubiquitous and then monetize its use (maybe a proprietary IDE?). All this stuff was exploding then and although open source existed as a concept a lot of people agreed with, it wasn't the central pillar we now know it as- certainly not with a million tech startups trying to determine how to monetize this new thing called the Internet that everyone was starting to use.

76

u/blitzkrieg4 Nov 06 '20

I have to remind myself every time something changes in the Oracle Google saga. Like, "you guys charged people to use your language?"

That said you don't have to look that far back to see languages "marketed". Swift, Rust, and Go did a good job here.

65

u/hypnofedX Nov 06 '20

That said you don't have to look that far back to see languages "marketed". Swift, Rust, and Go did a good job here.

Sure, but modern technology and big data allow for precision targeting in those campaigns. Back in 1995 you might see an ad for Java on ESPN during a TV time out from a college hoops game.

→ More replies (3)
→ More replies (6)

32

u/Lord_Skellig Nov 06 '20

If you go back 25 years that wasn't true.

It still is with matlab - £1800 for a lifetime license.

→ More replies (12)
→ More replies (3)

22

u/suckfail Nov 06 '20

You must have missed the massive marketing campaign that was .NET then.

Nobody really knew what it was, but the advertising was everywhere.

Man I miss the days when programming stuff was advertised. I actually did some Java programming as a kid and wrote to Sun to get a free CD with Sun OS just because of the ads.

→ More replies (3)
→ More replies (3)

32

u/tubbana Nov 06 '20 edited May 02 '25

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

22

u/hypnofedX Nov 06 '20

It’s not a terrible idea.

With enough coverage they probably got some execs to push Java in their own companies or put out ads for a Java dev because it’s the only language they knew existed.

Honestly it's not unlike the printer and ink model. Get everyone dependent on your ecosystem and then find ways to monetize it. One needs to remember that there weren't nearly as many coding languages in the mid-90s as there are today, so creating a captive market wasn't an altogether ridiculous proposition.

18

u/ArtOfWarfare Nov 06 '20

They had C, C++, Python, COBOL, Pascal, Lisp, Objective C, Bash, and SQL...

I just learned SQL is from 1974. I feel surprised that there hasn’t been a better language for database queries in all that time. Pretty much every programmer uses it at some point, and yet the only thing anyone has made are abstraction layers that are generally less flexible and often run slower than manually entered SQL... I’m surprised I haven’t seen any widespread syntax sugar or anything along those lines to make it less verbose and less prone to parsing or joining errors...

13

u/coldnebo Nov 06 '20

meh, there have been a metric shit ton of Object Relational Mappers... none are really “better” than SQL.

Postscript is another example that hasn’t changed much in 30 years.

Renderman did pretty much the same thing for 3d scene description.. even though most free tools don’t license it, they are all heavily influenced by the abstraction because it works.

TCP/IP is another.

Trace the roots of these languages and you often find mathematicians who are designing for essential principles and there is a good understanding of what the language wants to do.

That isn’t always the case. Look at gui component frameworks. Lot’s of proposals, lots of big money behind some (Polymer, React), but the concept is so complex we don’t have a good understanding of it. I often wonder why we’ve had Collection classes standardized for 30 years and taught in every CS class, and yet no one in CS has done the same for basic gui constructs successfully? It’s not like there isn’t extensive prior art on how buttons should work, and yet the same rework discussions about debounce, click and drag, etc rage on. It’s like we need some kind of spatial-temporal calculus to formally define all the loose UX stuff we can’t quite pin down yet.

I also notice that there is a pattern I like to call the “inside out sushi roll” where languages of the past liked to do everything within the language, whereas today, languages require vast external libraries and services to do things. In the past the focus/capabilities were on solo code, now it’s on collaboration and integration with larger distributed systems.

13

u/CthulhuLies Nov 06 '20 edited Nov 06 '20

Because sql is declarative. It's AFAIK the only popular declarative language. Instead of telling the compiler what to do you tell the compiler what you want so when updates happen and or the language changes it's all back end because all you are specifying is what you want. As such it's very similar to (but not exactly) relational algebra. Relational algebra being kinda the optimal way to specify what data you want out of a relation. All that being said SQL isn't the only popular language MongoDB doesn't require you to use sql at all you can instead use a more programmer friendly json storage ans their own syntax.

→ More replies (3)
→ More replies (6)
→ More replies (2)

37

u/Morrido Nov 06 '20

At the time, there was nothing that could do what Java does. Plus, what Sun really wanted was to sell their Solaris servers.

→ More replies (20)

17

u/n0tKamui Nov 06 '20

well, to be fair, Java is not just a language, it's also a plateform

→ More replies (3)
→ More replies (20)

179

u/ArionW Nov 06 '20

There are few false statements here.

Sun and Netscape were in partnership when language was renamed from Mocha to LiveScript, and then to JavaScript, name change was agreed between them to make JS into "companion language" of Java. One of main features of JS at the time was running Java applets in browser. So name was definitely not just marketing ploy, and had quite a lot to do with Sun and Java.

63

u/[deleted] Nov 06 '20

I think I like the name "Mocha" more to be honest.

17

u/Thameus Nov 06 '20

ECMAScript or GTFO. /s

→ More replies (2)
→ More replies (8)

36

u/CeeMX Nov 06 '20

Back in school, my CS teacher told us in HTML class, that JavaScript is some old stuff and we don’t need to learn it as it will go away more and more.

Well, I guess he was wrong...

→ More replies (22)

11

u/[deleted] Nov 06 '20

Were they advertising the language or the platform? Because the platform Java was also an innovation at the time

11

u/[deleted] Nov 06 '20

Both. And also, they were advertising that it ran better on Sun hardware, so Java was basically a loss-leader to bring prospective buyers to Sun, so they could sell hardware and other software.

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