Gollum@feddit.org to Programmer Humor@programming.dev · 2 days agoAnother smart movefeddit.orgimagemessage-square113fedilinkarrow-up1962arrow-down131
arrow-up1931arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 2 days agomessage-square113fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up3·2 days agoA lot of languages have a .last() or negative indexer ([-1]) to get the last item though.
A lot of languages have a
.last()
or negative indexer ([-1]
) to get the last item though.