r/programming • • Apr 29 '14

Programming Sucks

http://stilldrinking.org/programming-sucks
3.9k Upvotes

1.1k comments sorted by

View all comments

Show parent comment

11

u/[deleted] Apr 30 '14

I don't think that was the problem, I did something very similar for checking a product page for new stock (indexOf instead of len). Everything from that point on was the problem.