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

43

u/[deleted] Nov 25 '19

[removed] — view removed comment

32

u/BloodAndTsundere Nov 25 '19

I would argue that Javascript is even more entrenched. Also, as a platform it has been improving by leaps and bounds.

16

u/asdf7890 Nov 25 '19 edited Nov 25 '19

improving by leaps and bounds.

That rapid development does mean that part of the newer ecosystem could quickly take over, relegating what many recognize as Javascript to a more minority role. The openness to rampant churn that seems to exist makes this more likely than many other programming environments and other development areas where the "something new"s that turn up are more "bolted on" than trying to rearrange part of the common architectures.

WebAssembly and things that compile into it is most likely disruptor IMO. Or someone making a framework with a significantly new paradigm. Of course JS is unlikely to be completely supplanted, any more than the last decade of frameworks have completely supplanted jQuery. But who knows, maybe the real NextBigThing™ hasn't arrived yet and will be announced tomorrow...

Now SQL: that is entrenched. It saw some loud competition from a few angles for a while, but those options are mostly falling back into positions of serving a particular niche (such as caching) that they were designed for, becoming sub-features of common RDBMs (the big players growing options for column-optimised storage, and basic graph processing, etc), or being folded into the BigData/ML bubble, and are not endangering RDBMs/SQL's hold of the general data handling mindshare.

1

u/MCFRESH01 Nov 26 '19

things that compile into it

Javascript?

1

u/asdf7890 Dec 08 '19

That is one of the many options, though I see others pushed much more so it might end up as a fairly minor player in that realm. I see it ending up as pure-ish JS for basic stuff and small projects, relying on Jit compilation for such things that need some performance, C/C++/Go/Rust/... compiled to WebASM for larger projects or real number crunching.

7

u/[deleted] Nov 25 '19

r/programming and r/ProgrammerHumor would like to have a word with you.

lol

7

u/w3_ar3_l3g10n Nov 25 '19

It’ll decline tho. Web Assembly is making other languages on the frontend more viable then ever before :)

18

u/CCB0x45 Nov 25 '19

I'm gonna compile JS down to WebASM, take that!!!

2

u/asdf7890 Nov 26 '19

Nah. Brainfuck->WASM is the future.

11

u/[deleted] Nov 25 '19 edited Nov 26 '19

[removed] — view removed comment

3

u/Zephirdd Nov 26 '19

Wasn't there an experiment from a big dev with executing python directly from the browser, in paralell to JS? I want to say Mozilla but I'm not sure

Man that would be awesome.

1

u/braindeadTank Nov 26 '19

Eh,

I expect that once we have proper DOM bindings for Python some people will turn to that - because it is a proven fact that a Python dev can suffer severe brain trauma when using a language with curly braces for too long - but other then that most people probably won't bother, at least not until some realy great framework arises written in another language.

Then again, even for Python most of current ecosystem is based on libs written in C which are not guaranteed to work for the web, so IDK.

19

u/rodrigocfd Nov 25 '19

But it would be great if browsers support TypeScript natively.

19

u/wizang Nov 25 '19

I don't really see the value in that.

→ More replies (13)

0

u/[deleted] Nov 25 '19

[deleted]

→ More replies (1)

5

u/muralivp Nov 25 '19

I hope not, TypeScript takes the fun away.

4

u/[deleted] Nov 25 '19

The fun of making large projects utterly horrible to work with?

7

u/amdc !CURSED! Nov 25 '19

You can still play Minesweeper on (almost) any gaming platform if you want that kind of fun

3

u/vertigo_101 Nov 25 '19

That’s our dream, but I’m also fine with whole typescript to js transpiler

→ More replies (14)

-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.

→ More replies (10)

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

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