Post AdIvzQW05o5MHzRahk by yyp@fosstodon.org
 (DIR) More posts by yyp@fosstodon.org
 (DIR) Post #AdIvzQW05o5MHzRahk by yyp@fosstodon.org
       2023-12-29T14:18:12Z
       
       0 likes, 0 repeats
       
       High quality code right there
       
 (DIR) Post #AdIvzRVgOTQRNIIqqe by taylan@pl.tkammer.de
       2023-12-29T14:29:16.874731Z
       
       0 likes, 0 repeats
       
       @yyp Hmm, I think I actually have no problem with this. :blobcatthink: How would you suggest it should be done? One could take the numeric value of #\0, add the digit, then turn it back to char, but now you have to check that digit is >= 0 and <= 9 so you're doing three numeric operations... Depending on how it's compiled, this implementation may be the most efficient, and it's very easy to read.