this post was submitted on 01 Apr 2025
52 points (94.8% liked)
Asklemmy
47161 readers
683 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Use TypeScript
While JS does suck, most of the people who complain endlessly about it are fairly inexperienced tbh. A lot has changed over the last 20 years and it's honestly rare to code in pure JS nowadays. You can't really escape it when doing frontend work anyways.
You can do a lot with modern css too, especially extensions like scss
The bigger problem imo is overuse of third party modules, especially through npm. That's how you get a massive amount of bloat
hmm, npm is the package manager for ecosystem of js like pip of python, right ? exactly for an env called node.js? so it is better to use an alternative for it?
This. There has been a huge investment in the tooling around JS. Using TypeScript, you get the benefit of that ecosystem with a decent language.
It isn't perfect, but it's perfectly cromulent.