A few months ago, I published You're a Real JavaScript Developer Only If...
It was just a post for fun, and honestly, I didn't expect it to resona...
For further actions, you may consider blocking this person and/or reporting abuse
did a code review once, saw this guy wrote
as unknown as anylol
Haha that’s one of those things that makes you pause for a solid 5 seconds 😄
as unknown as anyfeels like the TypeScript version of “I don’t want to think about this right now”, maximum type confusion, zero accountability 😂TypeScript isn't trying to ruin your day. It's trying to stop future-you from ruining it. — Louder for the people in the back! 😭
My most "TypeScript developer" moment has to be writing a generic type so abstract that I needed a map and a compass to read it six months later. Awesome write-up, Hadil!
This is so real 😭
That “future-you protection system” is exactly what TypeScript is doing… even if present-you doesn’t always appreciate it in the moment 😄
And honestly, that generic type situation is a rite of passage at this point. You look at it later and think: “there’s no way I wrote this”… and then you slowly realize you absolutely did 😂
If you're relying on
as anyand// @ts-ignoreto pass your builds, you're not actually writing TypeScript, you're just writing broken JavaScript with extra steps.Haha I get the vibe behind this 😄
But in real life projects… I think it’s a little more complicated.
Most of us don’t start with
anyor// @ts-ignoreas a habit; they usually pop up as temporary survival tools when you’re dealing with messy legacy code, third-party libs with weak typings, or tight deadlines. It’s a bit like duct tape, not the perfect fix, but sometimes it keeps things going while you sort the real problem out properly later.The big difference is if it stays temporary or if it becomes a habit 😅
I had so much fun reading this 😄 I passed by almost everything in this list 😂 And like you said, I still secretly love TypeScript
I'm glad you liked it 😍 We've all gone by the majority of them 😄
Thanks for confirming I'm officially a TypeScript developer 😂
Congratulations! 🎉😄
Been a while I coded something up, kind of nostalgic but fun read!! 😆
// @ts-ignoregets rejected by my ESLint rules 🥹 It enforces// @ts-expect-error <WHY?>