Gollum@feddit.org to Programmer Humor@programming.dev · 2 months agoAnother smart movefeddit.orgimagemessage-square115fedilinkarrow-up11Karrow-down135
arrow-up1967arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 2 months agomessage-square115fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up3·2 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.