<@U1MKCRP0X> , thanks to your tip I replaced ``` ...
# getting-started
e
@drfriendless , thanks to your tip I replaced
Copy code
var faceSize_ = 0

        // The size of a face is the sum of the size of each level.
        for (level in baseLevel..maxLevel) faceSize_ += levelSize(level)

        return faceSize_
With just a simple
return (baseLevel .. maxLevel).map{ levelSize(it) }.sum()
man, I love kotlin 😛
👍 1