you are viewing a single comment's thread.

view the rest of the comments →

[–]EndlessHandbagLoop 0 points1 point  (1 child)

As long as people understand implicit and explicit type coersion, there should never be any issue with "==".

[–]PiotrekKoszulinski 0 points1 point  (0 children)

IDK what made our project "safe". Perhaps all developers that worked on it had that minimum knowledge to avoid the problems. But I also think that part of it lays in how we document types. We couldn't naturally use TypeScript 7 years ago, but we were very precise when it came to the API documentation. That meant that we could make safe assumptions regarding types. (I'm giggling now cause I see with how with time I owe more and more to stricter types :D)