Message from JavaScript discussions
January 2018
— Yeah i can totally relate to that
The other way of type restricting and checking is a slowdown of dev, imo. i belive checks are neccessary when you know that the data came from user input
— It's not meant for user input only
— It's far lower level than UX
— Type safety is the prevention of type errors through the use of standard types
— It affects ALL code, not just a user interface
— Every data structure you add in any area can affect type safety in some way
— The idea that it could somehow slowdown dev, just as being a minor property of the source code you'd write anyways, is not really valid
— Give an example where type system is useful and no user input
— Compile time type checking
— User input validation is not exactly type safety
— Type safe code is just not able to perform actions on an objects which would not work on the object