Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the post.

Please choose the appropriate section so your post can be easily searched.

Please choose suitable Keywords Ex: post, video.

Browse

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Contact Us
Home/ Questions/Q 6022

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Latest Questions

Author
  • 60k
Author
Asked: November 27, 20242024-11-27T02:40:08+00:00 2024-11-27T02:40:08+00:00

The Benefits of a Single-Language Tech Stack (Or How to Learn to Stop Worrying and Love JavaScript)

  • 60k

One of the universal truths of software development is that anything that can be written in JavaScript, will eventually be written in JavaScript. The ubiquity of the language is impossible to understate. It's the core of all web development, of course, but with frameworks like Electronjs, it's steadily making ground in the space of desktop app development. And while it once needed other languages to supply it with the functionality of middle- and back-end, those angles are covered too. The question still remains, however: why would you choose a JS-based stack when you can supplement the frontend with technologies based in cleaner, more functional, prettier languages? Well, there's a few reasons, actually:

JavaScript is not going anywhere, because JavaScript is everywhere.

Since its inception in 1995, JavaScript has exploded in its adoption, and has become the primary way that most developers interact with the web. Its weaknesses (and there are many) are well known by this point, and JS is frequently mocked for some of the more archaic paradigms that remain at the core of the language. This seems counter to my case: if everyone knows that it's bad, then why would you use it more than you have to?
Because everyone knows not just that it is bad, they are also very familiar with how it is bad. This is a big deal.

Any problem you may have in building with JavaScript, a hundred (thousand? million?) developers have already had, have already complained about online, and have already had a discourse around. It makes chasing down bugs and figuring out tricky implementations a matter of googling skill more than algorithmic genius. That means more time spent actually making your project, and less time staring at the inspect screen wondering what went wrong.

I know what you're thinking: There are other single-language stacks out there. Python has Transcrypt, Java has GWT, and anyone who's been around web development recently has at least heard of Flutter. So you may be asking: why replace my middle and backend with JavaScript when I can replace my frontend with Dart, or Python, or Java. It's simple, really: Even if you're not coding in JavaScript, you're still coding in JavaScript. Aside from a handful of outliers, every framework that lets you code up a frontend in a language other than JS has a step where it compiles all of that beautiful code you've written straight into, you guessed it, JavaScript.

Other People Have Done the Work For You

If you're an experienced developer, you know that the best code is the code you never have to write (or code that only has to be written once and can be reused forever.) This is where npm comes in. At time of writing there are over 11 million packages on npm, with more added every single day. Some of them are for strange edge cases that no one needed a package for, but the fact remains: the code exists, it's easy to add to your project, and it's a lot faster to “npm install” it than it is to write it all yourself.

The sheer number of problems solved by other people shows just how ubiquitous JS really is. Even though they released in the same year, Python's package library (pip), only hosts about 450,000 packages. How can that be possible, though? Everyone loves Python. Hell, the person writing this article loves Python. Again, it's the difference of adoption. More people who use Python enjoy it, but even people who don't like JavaScript work in it at least occasionally. And developers who have problems tend to put effort into fixing them. And that's where all the npm packages come from.

JS is for Lovers (or Generalists, if you prefer)

The biggest reason to adopt a full-stack JS workflow is simply that it can handle most tasks with an acceptable amount of efficiency. Other languages tend to specialize (Python and ML tech are the most prevalent modern example of that), whereas JS can handle most things without issue and do it (relatively) quickly. And with new runtimes like Bun gaining prominence, it's not hard to see why that efficiency is likely to grow despite the lack of specialization. Most working developers have a vested interest in making JavaScript suck less. Even over the past five years JS has become significantly easier to work with, more functional, and more efficient. And it's only going to continue on this path, unless the entire internet explodes and we have no choice but to start from scratch. But in that case, we'll probably all be using Rust anyway.

fullstackjavascriptwebdev
  • 0 0 Answers
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question

Stats

  • Questions 4k
  • Answers 0
  • Best Answers 0
  • Users 1k
  • Popular
  • Answers
  • Author

    How to ensure that all the routes on my Symfony ...

    • 0 Answers
  • Author

    Insights into Forms in Flask

    • 0 Answers
  • Author

    Kick Start Your Next Project With Holo Theme

    • 0 Answers

Top Members

Samantha Carter

Samantha Carter

  • 0 Questions
  • 20 Points
Begginer
Ella Lewis

Ella Lewis

  • 0 Questions
  • 20 Points
Begginer
Isaac Anderson

Isaac Anderson

  • 0 Questions
  • 20 Points
Begginer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore, ask, and connect. Join our vibrant Q&A community today!

About Us

  • About Us
  • Contact Us
  • All Users

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2022 Querify Question. All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.