Gollum@feddit.org to Programmer Humor@programming.dev · 29 days agoAnother smart movefeddit.orgexternal-linkmessage-square109fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 29 days agomessage-square109fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up0·29 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.