Also, because it’s so annoying to manage dependencies with C and C++, there are often flags you can set to disable functionality related to a dependency if you don’t need it.
Gron has no such option. Apparently there is no reason why you wouldn’t want a text processing program to make network requests.
@mckinley@twtxt.net Go supports a different way of conditionally compiling features in a codebase. Build flags. I’ll bet I can fork gron
and nuke the net/http
code out and make it optional if that’s something you feel strongly about 😅
@prologic@twtxt.net It’s not something I feel strongly about at all, I was just using it as an example. I like Gron a lot, actually.
@mckinley@twtxt.net Ahh! Well just know that optionally turning whole features and dropping dependencies is actually a thin in Go, something I should try to learn to use more myself 👌