sublist is fine but it's the kind of method that i...
# stdlib
k
sublist is fine but it's the kind of method that is pretty much perfect for the operator overload and range operator.
aList.sublist(0, 2)
vs
aList[0..2]
. The latter looks so much cleaner