743
you are viewing a single comment's thread
view the rest of the comments
[-] BrianTheeBiscuiteer@lemmy.world 4 points 1 year ago

Js is what you make of it.

This is one of the biggest issues with JS.

Want to stuff your whole program into one file on a single line? Go for it! Want to use 100 JS files in a single directory? You the boss! Want to tinker with the internals of other modules? Ha! What internals?!?

This is coming from someone that actually likes JS. It's a very loosey-goosey language and it does next to nothing to prevent bad practices. You're expected to pick and choose additional libraries to help with quality and organization. Some people choose no framework, some choose relaxed frameworks, or very opinionated ones. And if you want, you can easily mix strategies. I mainly code in Java, much more strict by comparison, and taking this approach would be a good way to ensure nothing works.

I think the core of JS is good but it needs better official tooling (I still hate NPM) and less of do-what-feels-good approach.

this post was submitted on 18 Jul 2023
743 points (93.2% liked)

Programmer Humor

32124 readers
1354 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS