3 ms·
Another thing is modulus. I know off the top of my head that mod == 0 means a number is divisible by another number because we used it all the time in my colleg
by _bxg1 7y ago
Another thing is modulus. I know off the top of my head that mod == 0 means a number is divisible by another number because we used it all the time in my college programming assignments. People without a formal background may not even know what modulus is; there are lots of programming domains where it's not really useful.
- LyndsySimon 7y ago> there are lots of programming domains where it's not really useful. Off the top of my head, I can't think of any. Even if all you're doing is a simple CRUD app, alternating attributes on a list you're outputting to HTML is easily done with `if i % 2`.
- _bxg1 7y agoI'd do that particular case with CSS In five years since graduating I haven't used modulus outside of toy code challenges