Gollum@feddit.org to Programmer Humor@programming.dev · 5 months agoAnother smart movefeddit.orgexternal-linkmessage-square114linkfedilinkarrow-up11Karrow-down136
arrow-up1966arrow-down1external-linkAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 5 months agomessage-square114linkfedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up3·5 months 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.