3 ms·
That’s because it’s both more annoying than warranted and completely insufficient, even ignoring that “running through pattern match” is not great (see: parse,
by masklinn 6y ago
That’s because it’s both more annoying than warranted and completely insufficient, even ignoring that “running through pattern match” is not great (see: parse, don’t validate).
* “untainting” is highly context-specific, that something was cleaned up for HTML does nothing for SQL
* which also means that the boundary is incorrect, just because you’re getting something out of storage does not mean it’s safe for anything (not even storing it back)
- Tepix 6y agoYou are right, the programmer still has to think. But with builtin taint it's harder to overlook something because it forces you to consider everything. I have a friend who is a long time C++ developer. Every time we discuss C++ he tells me that memory errors can be easily avoided in C++ if you have a certain level of competency. Someone still developed Rust because of this issue and it is popular.