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