reason number #586 why programming sucks.
Dec. 3rd, 2002 11:25 pmI had to write a recursive program that would take a string and return it backwards. For example, if I put in java, it would need to return avaj.
I spent the last twenty minutes chasing the bug that made garage print as "egarag". Until it dawns on me that if you slice the e off garage, it's a palindrome, and that's not printing as last letter rest of word, it's printing the right answer. :P
Twenty minutes chasing a non-bug. I'm slipping.
I spent the last twenty minutes chasing the bug that made garage print as "egarag". Until it dawns on me that if you slice the e off garage, it's a palindrome, and that's not printing as last letter rest of word, it's printing the right answer. :P
Twenty minutes chasing a non-bug. I'm slipping.