| Hello HN, I'm an experienced web dev and I've recently been interviewing for new fullstack role. # background Previous role I used TS everyday for all types of developement: api development and frontend via React. In my current role I inherited an non-typed codebase and I decided to use JSDocs vs Typescript. I made that decision because I knew that our older monolith framework and setup would cause compilation issues with TS and I wanted my future self and new developers to focus their skills on other problems with higher ROI: building features, refactoring code. JSDocs didn't mean we were cowboys: we implemented tests, we implemented JSDoc docs and type annotations, we implemented object schema validation. We cared about the same things that TS cares about. We only said no to the compulation step and all the problems that may arrise from that sub-system. # views I don't believe that TS should be tech that is blindly implented for all types of apps. I also can wager that most people don't need type safety enough to face some of the random issues caused by the compilation step of TS. The reality is that TS adds type safety into a language ecosystem that is not built for it. We've made serious serious strides towards full support, but not enough to make it clean sailing. Type-safety in Haskell or Rust is an entirely different story. Weirdly I'm not alone in this view with big profile pundits like Rich Harris (SvelteJS) prefering JSDocs over TS because there's less friction when using a non-standard language. For the tin hat owners out there there's also problem of TS being largely driven by a corporate sponsor, and like React, this setup produces a roadmap that can be at odds with the needs of smaller companies that use the project (breaking changes, fast major version api changes, deprecation of features, adding of new features that increase compilation, hurt performance etc) # recent job hunting experience Each time I've mentioned these views in recent interviews I've been labeled as not technical enough to work on TS projects. It seems to me like there might be some dogmatic views at play here:
- a) if you dont use/support TS you hate type safety
- b) if you dont favour TS you dont understand TS enough to work with it I'm very confused by how these events have played out and I wanted to share that with others. I welcome any and all pro/cons comments on this. As for me going forward? I'm going to keep my TS views to myself because I'd rather get a job than be right. |
Get the job first if the basics check out. Then "pay your dues". Show that you are a good team member who is not just complaining but actually getting things done with the resources given. You may be right in your argument but make that point once you have the trust of the team. Not before that.
Also, there is a reason why things are done in a certain way at a certain company/team. It may not be perfect or ideal but you need to first understand the background/why. Then if you feel that you have a case to make, make it.
But first, Pay your dues.