DEV Community

Discussion on: What Do You Think About Types?

Collapse
 
solkimicreb profile image
Miklos Bertalan • Edited

I am more on the contra side again. I used to code in a few statically typed languages (mainly Java) before settling with JS and I enjoy this typeless abomination very much. I feel like I don't need types and I can't mention a case when I ran into a sneaky type related error. This might be false self-comforting though, maybe I never traced my errors far enough before I fixed them.

I only use TypeScript when I am forced by the project requirements but I am not wildly against it. I understand people who like it and I let them be with one exception maybe. I am not a big fan of OSS TypeScript projects. I think TypeScript makes the barrier of entry higher and fends beginners away. Maybe vanilla JS is just as arcane to full-time TypeScript users as TypeScript is to JS newbies though, I don't know.

In general, I am not good with types and I hope to see some exciting comments from the pros. In this field, I am beginner enough to change my mind quickly.