3 ms·
> I love the conversion from string to decimal by subtracting the string value of '0' That's how everyone did character arithmetic since forever, though, espec
by aasasd 7y ago
> I love the conversion from string to decimal by subtracting the string value of '0'
That's how everyone did character arithmetic since forever, though, especially with the letters. Wouldn't be surprised if it's in K&R. And it probably became a subtle source of errors when environments changed, as mixing semantics and implementation tends to do.