hello,
just faced curious issue:
var a = @[1,2,3,4,5]
a.delete(0)
echo a # returns @[2, 3, 4, 5] as expected
while
var a = @[1,2,3,4,5]
a.del(0)
echo a # returns @[5, 2, 3, 4] which is little bit confusing
Just curious is it a bug or feature?The function name del is completely confusing.
It would be better to use something like deleteUnstable.