Gollum@feddit.org to Programmer Humor@programming.dev · 7 months agoAnother smart movefeddit.orgimagemessage-square112fedilinkarrow-up11Karrow-down136
arrow-up1968arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 7 months agomessage-square112fedilink
minus-squaredanAlinkfedilinkarrow-up3·7 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.