3 ms·
Just because you wrote user input code or an HTTP client does not mean that the results of it are trustworthy. So no I would not agree that even your own code i
by eatonphil 5y ago
Just because you wrote user input code or an HTTP client does not mean that the results of it are trustworthy. So no I would not agree that even your own code is trustworthy.
If it's your own code that does no IO then yeah it's more ok to trust TypeScript.
- city41 5y agoThe HTTP client itself is trustworthy to the extent that static code can be. The data it acquires through requests is not. Same with user input code. You can trust your implementation to the extent of static type checking and analysis. You can't trust anything a user entered into your system. Those are examples of the externals that I stated you can't trust.