4 ms·
> 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
by 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