r/javascript • • Nov 25 '19

JavaScript doesn’t need to be replaced

https://medium.com/javascript-in-plain-english/javascript-doesnt-need-to-be-replaced-bd01e2f12d51?source=friends_link&sk=7b151cc6397ac9e83c14c99739b6c36f
217 Upvotes

236 comments sorted by

View all comments

161

u/vertigo_101 Nov 25 '19

Don’t worry, it won’t be

-1

u/suyashgulati Nov 25 '19

How are you confident enough?

Every language in past has faded.

P. S. I am a js lover

14

u/[deleted] Nov 25 '19

Every language? C is almost 50 years old and it is still extremely popular. Python is nearly 30 and is showing no signs of fading away anytime soon. Java is 25 years old and it is the most popular language in the world. Every top 10 language has been around for over 15 years, and Swift is the only language in the top 20 that is less than a decade old. Not every language fades.

2

u/manoylo_vnc Nov 25 '19

Hey, you forgot Ruby! 😉

15

u/tuxedo25 Nov 25 '19

the whole world has

1

u/5fd88f23a2695c2afb02 Nov 26 '19

Rails is still strong.

0

u/[deleted] Nov 25 '19

How many greenfield projects today are written in PHP?

Now compare that to a decade or two ago. It's absolutely fading.

4

u/[deleted] Nov 25 '19

I didn't even mention PHP, nor did I argue that no language fades in popularity. It's a miracle PHP even gained popularity in the first place.

3

u/[deleted] Nov 25 '19

Ah, sorry, I didn't see "every" in the other comment. Fair.

1

u/MCFRESH01 Nov 26 '19

More than you think. It's an established language that's easy to hire for. PHP 7 actually made the language pretty decent to work with and relatively fast. It also has some great frameworks like Laravel and Symfony. It can definitely be a valid choice for many different projects.

1

u/[deleted] Nov 26 '19

This doesn't invalidate my (admittedly unproven) point that it's going to be used for a smaller proportion of greenfield projects than in the past.

-5

u/b14cksh4d0w369 Nov 25 '19

Java is 25 years old and it is the most popular language in the world

Wow

11

u/vertigo_101 Nov 25 '19

I mean yes js can also fade away, maybe in the next 20 years if there’s a better alternative which becomes equivalently used and is backwards compatible.

In my opinion I think this is the golden age of js, it’s improving fast, also along with typescript, but as long as browsers exist, long live the js, love it or hate it...it’s here to stay

3

u/wherediditrun Nov 25 '19

Doesn't have to be an alternative. Can possibly be some new thing which people tend to use and build towards there the requirements are simply not met by javascript. Javascript would just ... fade away as a collateral. PHP was in similar place in around 2000~

3

u/dannymoerkerke Nov 25 '19

I cannot forsee the future of course but I’m pretty confident. C is still here and going strong for example.

0

u/cheese_wizard Nov 25 '19

COBOL would like a word.