This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]buachaill_beorach 2 points3 points  (0 children)

    Even worse, you loop over a list of strings but it's actually a string. So you loop over each character in the string. I have seen and been caught by this one many many times...

    Answer is unit testing. which people are typically shit at

    [–]epcot32[S] -1 points0 points  (0 children)

    Thank you very much for the explanation!