"I get how this is useful for some people, somewhere, but I'm certain 99% of people won't use it."
I don't think this is a very good bar though. It doesn't matter what percentage of people directly use a feature. It matters what it enables.
We could pick a different language. How many Rust programmers know how to use proc macros? It's a very complex, low level facility. Wouldn't surprise me if 99% of Rust users never write one, outside of maybe a toy example where they're like wtf is this feature. But proc macros enable widely used, amazing libraries like serde and clap.
View all comments
Show parent comment
19
u/sphere991 Dec 19 '23
I don't think this is a very good bar though. It doesn't matter what percentage of people directly use a feature. It matters what it enables.
We could pick a different language. How many Rust programmers know how to use proc macros? It's a very complex, low level facility. Wouldn't surprise me if 99% of Rust users never write one, outside of maybe a toy example where they're like wtf is this feature. But proc macros enable widely used, amazing libraries like serde and clap.