https://kotlinlang.org logo
r

robin

03/07/2017, 3:40 PM
Not at all, really. The purely mathematical operators I'd expect to always be pure and return their result, simply because of their mathematical nature. I can't think of an example where you would use
div
outside of a mathematical context, so not having a version of it with side effects is fine by me.