this post was submitted on 24 Jan 2025
67 points (93.5% liked)
Web Revival
129 readers
37 users here now
A movement focused on capturing the creativity and openness of the early Internet.
We aren't here to watch Big Web burn (we have plenty of communities for that) but to find positive ways we can make the Small Web better.
Elsewhere in the Fediverse:
- !digitalgarden@lemmy.world
- !retronet@lemmy.sdf.org
- !fediverse@lemmy.world
- !fedigrow@lemm.ee
- !nostalgia@lemmy.ca
- !2000snostalgia@lemmy.world
- !journaling@sh.itjust.works
founded 4 days ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've been writing JavaScript for 10 years, the majority of that professionally. I have a formal education in computer science. In college, I wrote Java, assembly, C, Python, Lisp, Prolog, and SQL. Outside of school, I've written Go, Rust, Ruby, and probably dabbled in a bunch of others.
As someone that knows programming and that has learned JavaScript, I don't get the sense that people here have actually given JavaScript a fair chance. Sure, it’s not without its issues, but why don't you learn it and see?
Voyager, which I believe is the most popular Lemmy iOS client, is written in JavaScript. It's a fantastic app. There are a bunch of people that love hating on JS, but there are also a bunch of people that hate being locked into cloud services that can be shut down at any time. JavaScript allows you to build local-first apps that are less dependent on a server (obviously, backend is still a thing).
Learn C++ or a modern high level language (not Java). You seem stuck in the old stuff which might be why you don't see the obvious flaws with js.
That a nice program is written in a language says nothing positive about the language IMO. Everything was written in old clunky languages at a certain point.
Lol isn’t C++ insanely bloated? Surely there are more modern languages. Like Zig maybe?
Also I mentioned I’ve written Rust and Go, which are pretty modern. I’d be interested in learning Zig if I had more time. As for the other languages, CS programs just use older languages, but it was more about learning the concepts like data structures.
But it’s very much a right tool for the right job. JavaScript is a very good tool for front end development. C++ is a very good tool for writing a rendering pipeline or doing signal processing (I’m guessing idk I haven’t tried doing that stuff).
But my original read in this thread was “JavaScript sucks” not “JavaScript sucks when you use it for the wrong task”. It doesn’t suck, but I agree don’t use it for the wrong task.