Comment Comment by still_grokking But why not just write (0 to 99).sum That's not much longer, and quite readable even for the uninitiated. (It's a Scala expression, so not made up). parent still_grokking 5 years ago