this post was submitted on 29 Jul 2024
0 points (NaN% liked)

Programming

17343 readers
425 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] shy_mia@lemmy.blahaj.zone 0 points 3 months ago* (last edited 3 months ago) (1 children)

People dislike JS because it's packed full of moronic footguns and technical debt. The "standard library" is full of baffling decisions and, much like the language, rarely does what you expect. Even its creator agrees it's a terrible language and should have been replaced by now.

TypeScript is better, but at the end of the day it's just an illusion. Add an any anywhere, which will happen, and you're back to square one. It also still inherits some of the weirdness of JS, because it is just JS with fake types bolted on. Plus, the amount of work one has to do to create a proper library with TypeScript support completely undermines the few advantage of JavaScript. Might as well use a real statically typed language at that point, at least you'd be sure your types are actually enforced.

Also, the whole web ecosystem is ass. The hoops one has to jump through nowadays to do web development are absolutely batshit crazy. And no, having a create-whatever that sets things up for you is not a real solution.

[–] Feathercrown@lemmy.world 0 points 3 months ago (1 children)

Also, the whole web ecosystem is ass. The hoops one has to jump through nowadays to do web development are absolutely batshit crazy.

I don't recall the experience being even equally pleasant in other languages, let alone better.

[–] ZarkleFarkle@sh.itjust.works 1 points 3 months ago (1 children)

I think it probably could be, in Lisp. Like the one they used in early MIT computer labs (Scheme).

Many of the best ever known programmers came out of MIT computer labs, and for good reason.

[–] Feathercrown@lemmy.world 0 points 3 months ago (1 children)

Lisp on the web is a fascinating alt history scenario

[–] ZarkleFarkle@sh.itjust.works 1 points 3 months ago

Yes. And I want academics online like Matt Parker to discuss it with me.