Hacker News new | ask | show | jobs
by SilasX 4313 days ago
Only if you have no workaround or ability to implement modulo operations. If you were really a capable coder, but didn't know of %, you would just say, "I don't know of a library function for finding the remainder, so I'll just plug in remainder(x, 3) here." Then later, if such completeness is desired, implement that function.