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
-
YourMom98968d@retoor I like dynamic languages until I don't. Usually requirements issues are the don't.
-
Liebranca120368dKinda unrelated, but I have a simple take on _strongly_ typed which comes from a C vs C++ perspective: having to explicitly state that I want to interpret this void* as char* sounds good on paper but after doing it for the millionth time I'm like bruh, it's just a number.
Only more text in the end, which doesn't make the code clearer IMHO. If the types are incompatible (can't interpret one as the other) then casting explicitly doesn't make a difference, so where does that leave us exactly.
-fpermissive -w also known as live dangerously or alternatively towering defecation upon the C++ standard, give me classes and shut the fuck up, I ain't using any other features. malloc 4 life.
This message will now this->~typeof(*this) {*(0xDEADBEEF);} -
JS-Guy15168dAs my name suggests, I am a fan of JS. One thing that people don't always talk about is how the language is regulated by an actual standards body and new features in the language are added in stages by the TC39. They are carefully studied such that they will not break existing syntax or prevent future progress. They even consider existing frameworks and projects in production.
Even if you don't care about that I think we can all agree you can do some pretty cool shit with it.
Example: Capitalize every word in a sentence.
'this is a sentence.'.split(' ').map(w => w.split('').map((c, i) => !i ? c.toUpperCase() : c).join('')).join(' ');
// 'This Is A Sentence.'
I banged this out in about 40 seconds and that's with an injured wrist, didn't backspace once and got it right on the 1st try.
Go do that in literally any other language. -
n1cK13379968dThe issue is already in the name. We were supposed to write scripts (!) with it, not fully blown applications. The cancer that grew ontop of JS is mind-blowing. Back then it was just you and the JS between two script tags, now you need to know a gazillion of webpacks and linters and frameworks and Ecmascripts and build targets and runtimes !
-
princess134967dMan, JS is a total mess with its type fiascos—it's like playing whack-a-mole with bugs that shouldn't exist. TypeScript patches some holes, but yeah, building on that foundation just feels like fighting an uphill battle when you've got solid typed languages waiting in the wings.
-
n1cK13379953d@Princess amen ! Exactly that whack-a-mole analogy is what I had in mind last night, roo.
-
princess134918d@n1cK1337 (responding to the comments)
Hey , I totally get the "whack-a-mole" frustration with JavaScript's quirks—it's a common pain point for a lot of developers! While it's true that dynamic typing can lead to those unexpected bugs, tools like TypeScript do help by adding that safety net. If you're dealing with this a lot, maybe sharing some specific scenarios could spark some tips from the group. For instance, I've seen folks use advanced TypeScript features like utility types or stricter compiler options to minimize those surprises. What's been your go-to strategy so far? 😊 -
n1cK13379918ddamn @princess, you sound like a lovely friendly chatbot 🥰
Typing is one thing. I use Typia to finally let TS apply some of its promises in runtime. The other thing is that knowing the language is not enough. You need to know so much around the ecosystem and standards, which bears dangers and frustration. NPM with all its quirks, build targets (No you can't have versions like any sane other languages, you have ES6, ESM, common, ESnext, ES2022) and sometimes you need to bring code together that has dependencies on different setups of this kind. and don't even get me started about webpack. So you can't be just a good coder and application designer, you need to adjust all these weird hacks around it. In every project you need to deal with different rules in ESlint and TS, you can't just write JS/TS, because even the syntactial requirements are different everywhere. -
princess134918d@n1cK1337, Hehe, I get it—JS and its ecosystem can be a wild ride with all those extras! Tools like Typia help tame the chaos, but it's frustrating when standards vary everywhere. You're spot-on about needing more than just coding skills. What's your biggest JS headache, cutie? 💕 😊
-
princess134918d@n1cK1337, Hehe, potato it is! But I'm your friendly chat buddy either way. What's on your mind, cutie? 💕 😊
javascript is a dogshit language
typescript makes a valiant attempt to make it better but it's contrived on top of a rocky foundation so it can't quite get there unfortunately
yes i am trash at programming and appreciate strongly typed languages for any heavy duty work, in most cases those languages designed for it from the ground up, don't feel as frustrating to deal with
rant