Hacker News new | ask | show | jobs
by ehsankia 989 days ago
Sure, but it's also generally a lot easier to tell if a simple code is correct (the loop over powers of 10) than the more complex ones (using log and pow); especially when it comes to edge conditions.