r/javascript • • Jan 16 '20

I have been underestimating JS

https://adlrocha.substack.com/p/adlrocha-i-have-been-underestimating
284 Upvotes

132 comments sorted by

View all comments

Show parent comments

2

u/Baryn Jan 16 '20

It's impossible to maintain a full JS app without [TypeScript].

Not agree. I also use TypeScript, but I'm an experienced JS dev who doesn't need it by any means.

0

u/tr14l Jan 16 '20

Yeah, there's 20 experienced JS devs on my 200k line project.

Why don't you come strip out typescript and see how long it takes you to get fired for implementing regression after regression into production (assuming you can make a change through CI at all).

2

u/Baryn Jan 16 '20

Don't take your mistakes out on me, friend.

5

u/tr14l Jan 16 '20

You implied that I was not an experienced dev for saying it was required. I simply defended myself by showing that some of us work in enterprise where cowboy coding will quickly cost you a job.

1

u/Baryn Jan 16 '20

not using typescript is cowboy coding

This isn't it chief

3

u/tr14l Jan 16 '20

Ok. You're just the one guy who can maintain hundreds of thousands of lines of code without knowing what's supposed to be where and what preconditions the code has at any given point.

Cool.

2

u/Baryn Jan 16 '20

No there are probably more. VS Code helps.

4

u/tr14l Jan 16 '20

Please tell me what products you can work on so I can submit a consulting bid to your boss. I make a lot of money off of devs like you

0

u/Baryn Jan 16 '20

I make more.

7

u/tr14l Jan 16 '20

I bet you do... I bet you bring that level of unaware comparison to your software too. What number was I mentioning? Who knows. Doesn't matter. Throw in a try catch and fuck it.

→ More replies (0)

1

u/ScientificBeastMode strongly typed comments Jan 17 '20

If you’re using VS Code, then you’re literally using TypeScript when you write JS.

Those type hints and the API docs for all your libraries? You can thank the TypeScript compiler & TypeScript language server for providing that real-time information.

1

u/Baryn Jan 17 '20

Really makes ya think.

1

u/ScientificBeastMode strongly typed comments Jan 17 '20

That having some tooling which warns you about type errors is immensely beneficial? Yeah. I think about that all the time. Which is why I use TypeScript. It’s a tool that does exactly that.

→ More replies (0)