Gollum@feddit.org to Programmer Humor@programming.dev · 8 days agoAnother smart movefeddit.orgimagemessage-square116fedilinkarrow-up1988arrow-down134
arrow-up1954arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 8 days agomessage-square116fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up3·7 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.