HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nilia

no profile record

Submissions

Ask HN: How do I convince developers/companies to use TypeScript?

10 points·by nilia·4 года назад·16 comments

comments

nilia
·4 года назад·discuss
I've managed to do that a bit in a few orgs, by slowly introducing typescript in a code base (and showing that it can be introduced progressively without disrupting too much) to then show how those files have become easier to work with. I guess that's the guerilla style of tech evangelism

The problem is, it's not always possible (if managers refuse to let you do it in the first place) or practical (if you don't get given the time or if you're working with a complicated legacy setup and can't make those kind of changes).

The problem is people can only really see the benefit by working with it for a while, but to work with it there needs to be some initial work to introduce it.
nilia
·4 года назад·discuss
It is definitely psychological, and I'd say what I'm looking for is pretty much what you asked: good resources that explain all the advantages clearly and debunk the common misconceptions (which usually revolve around the idea that typescript will make it super slow and tedious to write code)

It's very hard to bother people out of nowhere and spend time arguing with them about why they're wrong about TypeScript, and can seem confrontational. That's why it would be a lot easier if there were external resources or even sources of authority vouching for it and helping with people's insecurities around it I suppose.

So what I'm really looking for is finding out what worked for other people. For example if there's a great talk/article/video/whatever that helped convince people easily, or even to use as a base to keep in mind a list of useful facts to mention to people (it's easy to forget when using it what people were thinking before then)