Gollum@feddit.org to Programmer Humor@programming.dev · 2 days agoAnother smart movefeddit.orgimagemessage-square114fedilinkarrow-up1960arrow-down131
arrow-up1929arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 2 days agomessage-square114fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up3·2 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.