5 ms·
I was entertained by this exchange: ms: would like to know how to control use of unsafe in codebase google: grep
by lacker 7y ago
I was entertained by this exchange:
ms: would like to know how to control use of unsafe in codebase
google: grep
- layoutIfNeeded 7y agoThey obviously meant ripgrep
- swsieber 7y agoYou can totally hook into the linting system to index all usages of unsafe, even (and especially) in dependencies.
- mijoharas 7y agoAs I got to that point I started laughing and then explained it to a non-programmer that was with me. My fumbled metaphor of "Find in page across a lot of pages" didn't really land...
- heavenlyblue 7y agoSo what do you do if “unsafe” is in a string or a comment? How do you automate the linting of it? I believe that’s what MS is speaking about. Google probably simply puts this on the shoulders of the developer.