never understood this take, I feel way more productive with TS even for tiny projects
Bye TypeScript 👋

Great for big teams but it's slowing me down when working solo or with 1-2 friends

Going back full JS

Apr 18, 2024 · 6:19 PM UTC

109
45
1,346
163,782
RepliesRelevant
Replying to @Steve8708
@Steve8708 any time I do ANY refactoring of ts code I'm like HOW DO JS FOLKS LIVE WITHOUT THIS ??? HOW DO THEY DO *ANYTHING* WITHOUT INTRODUCING BUGS
18
2
242
6,548
Replying to @Steve8708
@Steve8708 Same. TS is not a blocker for me ever.
3
0
47
5,206
Replying to @Steve8708
@Steve8708 people are lazy to spend a minute writing types now, only to end up wasting hours, cause no autocomplete and dumb mistakes…
3
0
40
3,141
Replying to @Steve8708
@Steve8708 personally think it's all just engangment bait tbh
1
0
16
1,360
Replying to @Steve8708
@Steve8708 Anything and absolutely anything can break in JS even with full understanding of the code base
1
0
13
1,494
Replying to @Steve8708
@Steve8708 I wouldn't go back to pure JS anymore.
0
0
3
331
Replying to @Steve8708
@Steve8708 Half of takes like this was due to poor tooling I reckon
0
0
0
392
Replying to @Steve8708
@Steve8708 TypeScript can feel like more work until the mental model shift clicks, and then you let TypeScript work for you.

That either hasn’t happened for them yet, or they’re engagement farming (or both).
3
0
69
4,137
Replying to @Steve8708
@Steve8708 I would say it's simply a skill issue. I had trouble initially getting used to the .ts workflow, but these days i don't want to work on a project without it.

Type safety is like a warm blanket for my imposter syndrome.
0
0
5
309
Replying to @Steve8708
@Steve8708 Let me explain it to you

x.com/tantaman/statu…
tfw appeasing the type checker is more work than writing the actual code.
0
0
6
1,111
Replying to @Steve8708
@Steve8708 It's not just typescript, it's Vscode, the plug-ins linters and a whole ecosystem that works for you.
0
0
5
636
Replying to @Steve8708
@Steve8708 Typescript has saved me hours. I never liked JS in the first place.
0
0
4
175
Replying to @Steve8708
@Steve8708 I really don't understand how people write stuff blindly and without autocomplete. Even I use JS, I type with JSDoc so that I can see possible properties.
0
0
1
134
Replying to @Steve8708
@Steve8708 It's a skill issue 100%.
0
0
3
327
Replying to @Steve8708
@Steve8708 I never used to understand it. Then I started looking at the code of the people who make this claim. Good code is really easy to use TS with. Bad code is really hard.
0
0
2
816
Replying to @Steve8708
@Steve8708 That person is probably not using an ide or language server so no code completion or suggestions for anything. Then it just becomes more typing for them.
0
0
3
1,691
Replying to @Steve8708
@Steve8708 JSDocs are great for replacing TS, also it is always personal taste.
0
0
2
29
Replying to @Steve8708
@Steve8708 Just an irrelevant rant, don’t mind it.
0
0
2
481
Replying to @Steve8708
@Steve8708 Refactoring with Symbol renaming is something I just can't give up!
0
0
1
29
Replying to @Steve8708
@Steve8708 lyf wass more easier with ts.

that dropdown with the possible option for a variable(json) is a life saver.
0
0
1
28
Replying to @Steve8708
@Steve8708 Yes me too, the error messages help a lot. Even for small scripts I use it, the auto-completion alone is invaluable. 👍
0
0
1
23
Replying to @Steve8708
@Steve8708 💯 agreed
0
0
1
57
Replying to @Steve8708
@Steve8708 @isashikoneko I would understand the rant if tools like Vite didn't exist.
0
0
1
25
Replying to @Steve8708
@Steve8708 Typescript slows you down…

…to fuck up.

Which is like…

…the entire point of Typescript.
0
0
1
38
Replying to @Steve8708
@Steve8708 Me too 🚀
0
0
1
118
Replying to @Steve8708
@Steve8708 When I’m working with a small team who’ve been around since the ajax days, we’re not using TS. If it’s a big project or boot camp grads, I’m using TS. There’s a time & place 4 everything. Stop the cult toxicity
0
0
0
75
Replying to @Steve8708
0
0
1
127
Replying to @Steve8708
@Steve8708 i firmly believe it's because of bad mental accounting of time.

when it took an hour and it's "done, but oh shit there's a weird little issue lemme just fix that real quick", then "oh hmm what caused that??" -- we don't mentally account for that under total time to done
0
0
1
54
Replying to @Steve8708
@Steve8708 This should be default in tsconfig
noImplicitAny: false

That way types can truly be opt in, and js devs would have actually no reason to go back
0
0
1
91
Replying to @Steve8708
@Steve8708 I'm convinced this has to do with whether you know how and when to use the type strictness.

Like...you can just use "any" if you feel that being more specific than that is slowing you down.

I'll say this: badly written TypeScript is worse than badly written JavaScript.
0
0
1
43
Replying to @Steve8708
@Steve8708 he is a nooblet, dunno why everyone is getting triggered by this guy. hey look - a person is dead wrong on the internet. 🤣
0
0
0
22
Replying to @Steve8708
@Steve8708 I think ts makes the code easier to follow for me if the typing isn’t overdone
0
0
1
170
Replying to @Steve8708
@Steve8708 I feel more productive with JavaScript.
0
0
1
82
Replying to @Steve8708
@Steve8708te - it’s purely a mindset thing. JS doesn’t enforce types, etc. so depending on the nature of a project, the platforms your building in, etc. it’s one less thing to think about and can feel like a lack of productivity when your dealing with conformity vs just logic alone.
0
0
1
875
Replying to @Steve8708
@Steve8708 if you‘re not using ts your code must be boring
0
0
0
3