“I dOnt lIkE tYpEsCrIpT. iT aDdS uNnEcCeSsArY cOmPlExItY.”
Well I don’t like the PTSD I have from trying to refactor your God awful native JavaScript codebase. It has enough magic strings to summon the Dark Lord himself.
“you don’t need types, just use unit tests!”
Removed by mod
I’ve literally seen people make this argument only a few years ago.
Totally man. Let me just cast this date to a date so I can be sure its a date.
I write JS/TS daily and I agree with this lol.
I’ve offset it with Golang lately.
Ehhh, golang’s pretty down there for me too. Sure, you have types, but the way you “implement” an interface is the sussiest thing I’ve seen in most well-known programming languages. Not to mention all the foot guns (pointers for nullables is a common one, and oh, if you forgot that a function returns an error, and you called it for its effects, you’ve just built a possibly very silent bomb) you end up building into your programs. I use in prod, and I get scared.
I’m pretty new to it. The types and struct stuff are a bit hand-wavey, but I like how quickly I was able to ramp into it. I built a simple API with it in a few hours.
Say what you want about it, but it will not go down without using everything in the vicinity as a weapon if ammo runs out. While others go down, they will be kamikazeing themselves to get the job done.
Until today I thought being a typist just meant you could press keys quickly
I disagree with the meme but mostly because I think all programming language are fucking clowns at times. I Don’t think that you should use typeless languages for huge projects but I also think that for a little Js library, Js is fine.