this post was submitted on 17 Oct 2021
60 points (94.1% liked)

Programmer Humor

32371 readers
425 users here now

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

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] AgreeableLandscape@lemmy.ml 4 points 3 years ago (1 children)

All the more reason to not use JS. Being a terrible language is one thing, having a terrible ecosystem is worse.

[–] yogthos@lemmy.ml 4 points 3 years ago (1 children)

Definitely, it's sadly hard to avoid entirely with it being the main driver for the web. Stuff like ClojureScript is nice since it's pretty much its own ecosystem and you can opt into Js stuff if you really need to.

[–] AgreeableLandscape@lemmy.ml 3 points 3 years ago* (last edited 3 years ago) (1 children)

Kotlin can also compile into JS and is more familiar to most JS developers. More options are good as a general rule and we're starting to see more players in this space.

You know it's bad when you're using a lower level bytecode or native language to compile to a high level interpreted language just to avoid said high level language.

[–] yogthos@lemmy.ml 3 points 3 years ago (1 children)

Yeah, it's kind of an amusing situation. I literally just treat Js as bytecode nowadays. I haven't had to write a line of it in years.

[–] AgreeableLandscape@lemmy.ml 3 points 3 years ago (1 children)

Honestly, production JS is so obfuscated and processed and hard to read as an outsider that it's essentially bytecode. Reverse engineering JS in a webpage is a common security CTF challenge.

[–] yogthos@lemmy.ml 2 points 3 years ago