DEV Community

loading...
Cover image for JavaScript is DEAD πŸ’€

JavaScript is DEAD πŸ’€

technoglot profile image Amelia Vieira Rosado ・Updated on ・1 min read

Hey there! πŸ‘‹πŸ» If you are reading this...it means my clickbait title was effective. Did I just troll you?

you bet

WAAAAIIIT! Don't leave yet. I'll make it quick:

If JavaScript did not exist, what would your tech stack look like?



Drop it in the comments below! πŸ‘‡πŸ» I want to hear from you!

yes, you

Pretty please... πŸ₯Ί

how can u say no




Still here? Catch me on Twitter or find me elsewhere! If you like my blogs and are feeling generous, kindly consider to πŸ‘‡πŸ»




technoglot footer banner

Discussion (40)

pic
Editor guide
Collapse
devlorenzo profile image
DevLorenzo

If javascript didn't exist, human ingenuity would have found something easier and even more powerful to replace it. But unfortunately, Javascript exists, and for almost thirty years... So my tech stack would certainly have this powerful and more efficient tool, but there is not.

Collapse
technoglot profile image
Amelia Vieira Rosado Author

In terms of other, already existing languages, what would you use? There has to be something out there that you'd want to pick up.

Collapse
devlorenzo profile image
DevLorenzo

Probably java (and Kotlin), because it was the first language I learned, even if obviously that couldn't replace js for websites, I would probably take advantage of it to launch my first native Android app (I never had the opportunity even if I made a couple). Or, as I am already doing now, I would focus a lot more on python for data science.

Thread Thread
technoglot profile image
Amelia Vieira Rosado Author

Sounds about right! My Java skills are in intensive care, not gonna lie! πŸ˜… It's something I have to work on.

Or, as I am already doing now, I would focus a lot more on python for data science.

Ugh, I need to get serious about Python. 😞

Thanks for joining the conversation @devlorenzo

Collapse
jenbutondevto profile image
Jen

Swift! Honestly I didn’t like JS until very recently. The additions like coalescing and optional chaining make it a lot nicer, and something I had missed moving from iOS to full stack (mainly js/web stacks). That plus typescript gets it closer to the language I love.

Collapse
technoglot profile image
Amelia Vieira Rosado Author

Awesome! Thanks for pitching in @jenbutondevto ! 😁

That plus typescript gets it closer to the language I love.

Fun fact: a friend once told me that he heard a YouTuber say he finds TypeScript, I quote, "an obstacle". What do you think of that statement? Do you find TS an obstacle in any way? πŸ€”

Collapse
manonbox profile image
Ollie

When I first started using TS, I DID find it as an obstacle - because I was writing code that I knew would work, but TS was putting on the breaks with those squiggly red lines .

I realise now that it was my lack of understanding TS AND JS that was making life difficult for me. I had got used to bad practices that didn't play well with TS.

Fast forward 2 years and I can say TS has had a big part to play in making me a better developer. Also, whenever I go back to vanilla JS, it strikes me as crazy that I can do whatever I want, with no errors (until runtime)! Use a variable that hasn't been defined? Sure! Call a function with whatever params? Sure! Don't get any intellisense or autocompletes, and have to refer to the documentation every 5 mins? Sure!

Oh how I love TS <3

Collapse
jenbutondevto profile image
Jen

It depends! For small projects and small scripts, having strict typescript rules and having to compile and adjust your project settings can be a hindrance.

There are lots of boilerplate projects that have ts baked in and all set up to worth with jest and whichever framework you like.

I guess types aren’t a hindrance to me, since I’m very used to it coming from swift. If you aren’t used to it, sure it might be slower and feel like a chore writing types. You really start to feel the benefit when you’re working in bigger teams or projects. There’s a lot less you have to worry about since the static analysis takes care of that.

Thread Thread
technoglot profile image
Amelia Vieira Rosado Author

Very good points raised here! πŸ‘ŒπŸ» Size and complexity of a project are key indeed. Not all tools are well-suited for all use cases.

I guess types aren’t a hindrance to me, since I’m very used to it coming from swift.

Makes sense πŸ˜… Types don't bother me either, after all, the first programming language I learned was Java (yeah, the one for masochists). Java's a tough one to please I must say 😞

Thanks so much for allowing me to pick your brains a little, hehe. 😁

Collapse
danielkrupnyy profile image
Daniel Krupnyy

What? JavaScript doesn't exist? Don't crash my life 😒 😭

But seriously, I've always thought about Python or C#.
I love robotics and I think these languages are perfect for that.
So, if it weren't for JS, I would have studied them.

Collapse
technoglot profile image
Amelia Vieira Rosado Author

What? JavaScript doesn't exist? Don't crash my life 😒 😭

Sorry buddy, it had to be done! 😈

I've always thought about Python or C#.

Great choices! πŸ€” I like how general purpose Python is. Thanks for joining the conversation! 😁

Collapse
mrwook profile image
Wook

Python. In the browser, on the desktop, at the command line.
Idle is the ITS (Incompatible Time Sharing System) of our time.
OO's allow you to (efficiently) build up toolboxes and frameworks that can be widely applied. Stuck-on OO generally fails at this. Almost everything in JS is a long-overdue, poorly implemented add-on. Take advantage of 60 years of computing and computer science to make something better, not just more.

Collapse
technoglot profile image
Amelia Vieira Rosado Author • Edited

Thanks for sharing your thoughts @mrwook ! πŸ™‡πŸ»β€β™€οΈ

Collapse
jmdejager profile image
🐀πŸ₯‡ Jasper de Jager

I see you used the #javascript tag, didn't know that existed, what is javascript? πŸ€”πŸ˜…

Collapse
technoglot profile image
Amelia Vieira Rosado Author

LOL 🀣🀣🀣

Collapse
theowlsden profile image
Shaquil Maria

I guess for the web I'll have to go the good ol' PHP way and become an expert in CSS to be able to make dropdowns🀣.

If JavaScript did not exist I don't think I would be doing much web development anyway, so I'll join the Python & C gang and work on robotics.

Collapse
technoglot profile image
Amelia Vieira Rosado Author

I guess for the web I'll have to go the good ol' PHP way and become an expert in CSS to be able to make dropdowns🀣

CSS is the real magic πŸ˜‰

If JavaScript did not exist I don't think I would be doing much web development anyway, so I'll join the Python & C gang and work on robotics.

Sounds like a good switch! πŸ€– Thanks for pitching in!

Collapse
dealloc profile image
Wannes Gennar

obligatory "I'd use Ecmascript" joke here
I don't work in the frontend anymore as much as I used to, these days I'm working mostly in C#, Elixir and occasionally Go.
Not much would change I'd guess

Collapse
technoglot profile image
Amelia Vieira Rosado Author

Hahaha, you are effectively unaffected by this! 😁

working mostly in C#, Elixir and occasionally Go

How come you are working with these more often now? What changed in your career? πŸ€”

Collapse
dealloc profile image
Wannes Gennar

I changed jobs, I used to work for a company that handled terminal automation and we were transitioning all our tooling to web based, meaning that there was a lot of full stack development going on (and the Javascript that comes with it).
These days I'm working in a full backend system without a user-facing frontend (we're more a backend for other applications), so hardly any Javascript involved (not counting the very occasional change in our own diagnostics site)

Collapse
timocmd2 profile image
Timo Sarkar

Probably something like PHP laravel or, Python Flask, Vanilla HTML 😫 idk πŸ˜…

Collapse
technoglot profile image
Amelia Vieira Rosado Author

It's a start! Thanks for sharing your thoughts πŸ™ŒπŸ»πŸ˜Š

Collapse
timocmd2 profile image
Timo Sarkar

Or I’d even develop my own language if I’d have an idea like js πŸ˜…β€οΈβ€οΈ

Thread Thread
technoglot profile image
Thread Thread
timocmd2 profile image
Timo Sarkar

It is 😎

Collapse
naseki profile image
Naseki

unpacks all CSS-only solutions

Collapse
simbiosis profile image
SIMBIOSIS

Well. If javascript dies some day it probably will happen when I too old and creepy to work at all. I hope so. Javascript has allowed me to build mobile, web apps and also web sites. Javascript may not be the most flexible and powerful programming language but it is powerful and flexible enough to build the kind of stuff me and my clients are interested in.
If javascript have more than 30 years of battles and upgrades, more than 100 frameworks (I really don't know if this number is correct, but who can say how many js frameworks coexist out there?) an almost infinite amount of libraries and a lot more stuff, it really have to mean something. If it were a weak and unworthy language it would have died within its very infantry.

So, if it is still alive and powering almost the 80% of the web (another self assumed number because I really don't know. Somebody does?), an amazing amount of web and hybrid apps including games, text editors, painting and photography apps, utilities, tools and more more many more, it isn't probably because of its weakness or incompetence.

I am not a js expert, only know the basics to mainly understand, adapt or change the code written by others and that's great. Because even knowing it so basically I would be able to use it anyway.
Si, I hope it keeps on powering the kind of stuff I build because, as I have already said, if it dies I will have to change my job and my entire career.

Collapse
jpswade profile image
James Wade

Lisp all the way down.

Collapse
technoglot profile image
Amelia Vieira Rosado Author

Any particular reason? πŸ€”

Collapse
jpswade profile image
James Wade

Just a language that seems to run on anything and everything, a bit like js.

Thread Thread
technoglot profile image
Amelia Vieira Rosado Author

That's fascinating πŸ€” Thanks for sharing your thoughts 😁

Collapse
jmdejager profile image
🐀πŸ₯‡ Jasper de Jager

Probably Typescript or Dart. I guess Typescript doesn't count as it is a superset of Javascript..

Collapse
technoglot profile image
Amelia Vieira Rosado Author

Indeed, TS doesn't really count 😁 Dart huh? πŸ€” How come Dart? Any motivations for this choice?

Collapse
jmdejager profile image
🐀πŸ₯‡ Jasper de Jager

It was the first that came to mind πŸ˜… Always seemed cool to me, but honestly I'm so Typescript/Javascript minded that I couldn't really tell you what I'd use. Really looking forward to all the answers!

Thread Thread
technoglot profile image
Amelia Vieira Rosado Author

I've used Dart myself and I enjoyed using it. Actually (personal opinion here, hehe), I think Dart has similarities with TS & JS. For me, Dart is what you'd get if Java and TS had a baby πŸ˜‚

Really looking forward to all the answers!

Same here πŸ‘€

Collapse
danielnieman profile image
Daniel N. H

If Js didn't exist I'd probably be coding in Flutter rn

Collapse
technoglot profile image
Amelia Vieira Rosado Author

Dart (Flutter) is a decent option I must say. Worth a shot at least 😁

Collapse
pavelee profile image
PaweΕ‚

Python would replace javascript with a pleasure.

Collapse
zakiazfar profile image
zakiAzfar

python / C# / rust

Collapse
jmojico profile image
Julian Mojico

I would be embracing PHP :)

Collapse
darkphantom7750 profile image
Rushan S J

Typescript ! πŸ˜‚πŸ˜

Collapse
roccodev profile image
Tom Esendam

Bolero with F# or Blazor with C#

Collapse
technoglot profile image
Amelia Vieira Rosado Author

Not gonna lie, I have no clue what these are 🀣! Time to duckduckgo it! (Jeez, that sounds terrible πŸ˜‚)

Collapse
icecoffee profile image
atulit023 • Edited

First thing that came into my mind after reading that damn title.

Collapse
technoglot profile image
Amelia Vieira Rosado Author

Did not expect any less 😜

Collapse
nefomemes profile image
Nefomemes • Edited

Dart, with Flutter. On the backend then Angel Dart.