3 ms·
True, but "a bit clunky" is an understatement for how awful they look. I've never seen them used in the wild. I don't use them either. What I do use (since D s
by WalterBright 4y ago
True, but "a bit clunky" is an understatement for how awful they look. I've never seen them used in the wild. I don't use them either.
What I do use (since D supports calling C printf) is have the compiler check the format string against the types of the arguments. This means it won't compile if there's a mismatch. Many C compilers do this, too.