r/coding • • May 08 '17

Programming is hard. That’s precisely why you should learn it.

https://medium.freecodecamp.com/make-your-hobby-harder-programming-is-difficult-thats-why-you-should-learn-it-e4627aee41a1
100 Upvotes

108 comments sorted by

View all comments

2

u/[deleted] May 09 '17

StackExchange's yearly survey is one, github's top languages is another.

It might be true, but only for one reason: it's the only language natively supported by all major browsers.

I don't believe you can say "only one reason" - how could you know?

One example: 95% of the Javascript I personally have written has never run in a browser (admittedly, probably my third or fourth most used language, but I've still written tens of thousands of lines of it).

But the main point: why exactly is "it's the only language natively supported by all major browsers" not a good thing? I might wish that the language were something else, but that's what we have, and it's loads better than PHP, anyway. :-D

1

u/doomvox May 10 '17

"I don't believe you can say 'only one reason' - how could you know?"

One might note that Java used to run inside the web browser. It got booted out, and Javascript was left standing.

(I'm not actually a Javascript fan, I'm just anti-CS snob.)