3 ms·
I have always wished that printf (or its equivalent in your language) was somehow extensible. In a language like Python you can kind of get around this by defin
by montecarl 11y ago
I have always wished that printf (or its equivalent in your language) was somehow extensible. In a language like Python you can kind of get around this by defining __str__ on an object an using %s to format it, but that doesn't help implement something like engineering mode.