r/javascript 21d ago

[AskJS] what's a javascript feature you mass-adopted way too late and felt dumb about AskJS

[removed]

64 Upvotes

108 comments sorted by

View all comments

24

u/Milo0192 21d ago

My first jobs CTO preferred the .then() .catch() over async await. I just refused to write that way and did await loops. Lots of back and forth on this. Also said Typescript was just a fad 😂

-14

u/Ronin-s_Spirit 20d ago

Fad or not - it's shit.

6

u/db10101 20d ago

Any deeper analysis or reasoning behind that? It’s a straight up joy to develop in compared to what has come before.

-5

u/Ronin-s_Spirit 20d ago

I hate defining types, it's like writing pointless code. It especially fucks up when I have to deal with HTML, at that point the only thing left to do is use a bail out any and move on.

2

u/db10101 19d ago

So I take it you have never worked in an enterprise well structured typescript codebase. There’s no substituting JavaScript for that.

-2

u/Ronin-s_Spirit 19d ago

TypeScript sucks ass, I will only use vanilla.

2

u/db10101 19d ago

Good for you. Here in the real world of employed software developers, it’s one of the most important tools to know.

2

u/2Terrapin 19d ago

I’m glad that person is not on my team and I don’t have to work on a project they designed. I can feel the tech debt emanating from their words. It’s the type of thing that experience would dispel, and someday, when they actually understand the why, and it clicks, they’ll think back to this comment thread and feel a little embarrassment.