Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Lensflare1718337dI feel like Fine ans Shit should be swapped in this meme :)
If you are unexperienced and dumb, you see it as shit. If you are very experienced and intelligent, you see it as shit.
Most devs are quite regular with average experience and intelligence. And they find JS fine. -
As long as you don't get hit by the many many weird gotcha in JS, then its fine.
-
CoreFusionX342437dI actually picked my brain a bit this week while dealing with bullshit nestjs and typeorm, and managed to shit out a decently half baked generic API controller with full typescript support, and without bullshit eval nor code gen tools.
Kinda similar in concept to c++ variadic templates and anonymous classes.
Managed to reduce my client's codebase size by 80%. (And secure me the gig longtime cuz I don't think their node devs can tinker with it on their own.
Must agree that while, of course, dealing with clownshit was frustrating, as always, I kinda enjoyed the process, and now I can say I have a much more in depth knowledge of the shenanigans typescript does. -
Lensflare1718337d@magicMirror Kind of like trying to not get hit by water drops during a rain storm.
-
Liebranca88237dlmao, same. I just don't get what the endless complaining is about. Skill issue, maybe?
-
kiki3533436dEvery language has its place. JS is a very brief and syntactically elegant glue language. It’s excellent for mapping the data you got from the server into the UI. It’s also a good glue to get your DB a rest api. It’s reasonably fast for both roles.
Node.js has a C++ module api for a reason. If you need to crunch numbers, just write your number crunching algo in C++ and connect it to Node as an external dependency. You can also spawn subprocesses in both node and browser. Right now I’m making an online image compressor, and the compressor part is written in C++ and compiled to WASM. It works fine and almost as fast as the same tool used as is from the terminal.
You don’t judge a fish by its ability to climb trees. -
Lensflare1718336d@kiki fair. Though the problem is that js is also used for business logic for whole apps or backends.
I’m not judging the fish by its ability to climb trees.
I’m judging people trying to make fish climb trees and pretend like there is nothing wrong with that or don’t realize what the problem is. -
kiki3533436d@Lensflare about the fish: yes, I agree, and that analogy wasn’t directed to what you said. It was directed to the same people you were talking about.
I write business logic in JS. Because a SQL database is always the backbone behind every single application that serves a business, JS layer becomes rather thin. Anyway, it works for me for years now -
Lensflare1718336d@kiki as you have said, it‘s a glue language.
If we talk about the language being shit or not, it doesn‘t mean that it doesn‘t work. It‘s Turing complete and of course it works. Working is the absolute bare minimum that it has to be. The question is if it‘s shit or fine.
It‘s also completely irrelevant if that language is the only choice. Shit is still shit, no matter if have alternatives or not.
Using a loosely typed scripting/glue language for anything else than scripting and gluing is shit. That‘s true for every language. JS is shit because of a lot of other reasons on top. -
Lensflare1718336d@Demolishun brainfuck is better than js. It‘s a joke language just like js is but at least it‘s free of bullshit and nobody uses it for serious things, besides clowns maybe. JS is a joke that most people didn‘t get.
-
Demolishun3495936d@Lensflare "sometimes life is what happens after the joke" Jedi Gym
Not sure I got the quote right. Old video from youtube. -
I don't find js offensive, but it is bad at a few things that can't be ignored
-
@Lensflare well... yes.
But I would have use the Fan and the Brown Sticky substence metaphor.
Or as t. Prachett wrote one: "and then the midden has hit the windmill" -
tosensei841333djavascript is a decent compile target, but a terrible language.
and as compile target, it's become obsolete the day that webassembly was conceived.
I know I rag on Javascript, but this is actually how I see it. It always did what I needed, but I am not enamored nor dismayed by it. I think the technology behind it is pretty cool too.
joke/meme
this is fine
javascript