Gollum@feddit.org to Programmer Humor@programming.dev · 12 days agoAnother smart movefeddit.orgexternal-linkmessage-square116fedilinkarrow-up1991arrow-down135
arrow-up1956arrow-down1external-linkAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 12 days agomessage-square116fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up3·12 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.