Gollum@feddit.org to Programmer Humor@programming.dev · 17 hours agoAnother smart movefeddit.orgimagemessage-square79fedilinkarrow-up1681arrow-down122
arrow-up1659arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 17 hours agomessage-square79fedilink
minus-squaredanAlinkfedilinkarrow-up2·5 hours 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.