956
Another smart move
(feddit.org)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
It would screw up existing code but doing [array.length() -1] is pretty stupid.
For i = 0; I < array.length; i++
i < array.length
or else you overflow.Casually throws in capitals as well.
My post is a work of fiction
A lot of languages have a
.last()
or negative indexer ([-1]
) to get the last item though.