3 ms·
"That's not great. Static guarantees are worlds better than "I can manually look at it, and manually grep for places I need to look"." Grepping or looking is p
by vardump 12y ago
"That's not great. Static guarantees are worlds better than "I can manually look at it, and manually grep for places I need to look"."
Grepping or looking is pretty much what you need to do also in C++, if you happen to have the bug in the wrapper. There's no static guarantee that can figure out if there's no chdir back to original location.
- dllthomas 12y agoIf you have a bug in the wrapper, you fix it once in the wrapper, and it's more likely to have shown up in a test if that wrapper is used multiple places. There is no static guarantee that you wrote the wrapper right, but hopefully there is some guarantee that you used the wrapper right. Definitions can't outnumber uses (or errors in some of those definitions don't matter...).