Gollum@feddit.org to Programmer Humor@programming.dev · 20 hours agoAnother smart movefeddit.orgimagemessage-square82fedilinkarrow-up1703arrow-down122
arrow-up1681arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 20 hours agomessage-square82fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up2·8 hours 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.