3 ms·
Modulus is middle school math; surely, you would expect a developer to be familiar with at least high school math as theory base?
by golergka 8y ago
Modulus is middle school math; surely, you would expect a developer to be familiar with at least high school math as theory base?
- tarboreus 8y agoI think it's more the framing. Most devs would understand a remainder conceptually but it's conceivable that they might not know the mod operator in practice.
- luminousmen 8y agoThe question from the article is tricky because the Python modulus implementation differs from, for example, Java. See discussion https://stackoverflow.com/questions/2215318/difference-between-modulus-implementation-in-python-vs-java https://stackoverflow.com/questions/2215318/difference-betwe...