3 ms·
Yes, and 'greppable' is an underused word/concept in its own right. I've used this as an organizing principle since forever (https://news.ycombinator.com/item?
by dang 2y ago
Yes, and 'greppable' is an underused word/concept in its own right.
I've used this as an organizing principle since forever (https://news.ycombinator.com/item?id=1535916 https://news.ycombinator.com/item?id=1535916). It's one of the best ways to factor code that I know of.
- tptacek 2y agoIt's good, but I'm snagging on the examples here; for instance, the insistence on consistent use of camel or snake case. That seems to me to be purely a tooling limitation; a more code-aware grep could just automatically synthesize the covering regexp for both. It feels like there's a sweet spot in between LSP-ism and grep-ism that isn't being captured.