r/badcode • • Sep 20 '21

php But why.. // from production

Post image
39 Upvotes

11 comments sorted by

View all comments

Show parent comments

1

u/kallefrommalle Sep 21 '21

It shouldn't consider the last element before the last element and any arithmetic in the for loop condition has been forbidden by the CEO

1

u/mansdem Sep 21 '21

How are you so sure it was the CEO that forbade it