Take a look at operational transforms as another great solution to this sort of problem. Many collaborative editors rely on them (Google docs, etc)
2,815 karma · joined August 26, 2011
I moved to California in 2014. In 2016, I got a letter saying I owed back taxes (state) for 2012 on an estimated income. Took quite some time to clean that one up :-/
By analyzing how they prepared for the inevitable attack (mitigation), as well as how they respond to it after the fact.
Speaking from experience at Amazon & Google.
TS tends to make pragmatic tradeoffs between sound typing, and the way JS developers tend to architect code. I'm glad they do.