282

My cat put a "j" in my code and i spent 2 hours to find it

Comments
  • 3
    Ctrl+f broken?
  • 8
    Whenever one's cursor is in a string, that's when felines are ready to fuck your shit up and take a nap
  • 8
    Had a random 's' in there
  • 9
    @ThatDevRC I'm an idiot...
  • 11
    Always blame the cat
  • 18
    Talk to your cat about pair programming now, before it's too late!
  • 26
    @ThatDevRC
    hey Tum, which character'd you put in my code?

    "Meow"

    Okay thanks pal
  • 10
    @RazorSh4rk I worked that out about 20 minutes after I posted my comment. I haven't slept much lately.
  • 8
    @ThatDevRC little known fact that i speak cat
  • 2
    Have it add ; in case you forget
  • 5
    No linting?
  • 3
    Was that in a string or are you using a dynamic language?
  • 8
    I always wonder why it takes people several hours to find one syntax error... Do you not use an IDE or better yet can you not read a stack trace?????
  • 2
    @Grumpy @px06 it vas sVarName instead of iVarName
  • 3
    Is your code not in a repo such as github?
    Git status or git diff would have helped if it was
  • 5
    ctrl + z?
  • 4
    Another really easy and quick solution would be to get a tracker which you would add to your cats collar and add a detector to the door of the room in which you are coding. as soon as your cat enters the place, you would then have a script set up, which immediately makes a "TEMP"-commit which is labeled perhaps as "cat fucked up again" to which you could reset as soon as your build breaks! clever solution and you would have IoT integrated, which - as soon as you're trying to sell this as buyable complete set to other devs - will make your investors flip out! Win-Win-Win-situation. Go get 'em "tiger" (pun intended)!
  • 9
    I trapped him
  • 1
    You need some lint in your life
  • 4
    Was it /bin/cat ?
  • 0
    @iceman well technically speaking, yes, i am , indeed, from the 90s
  • 0
    Mine do the same except mine wait till am sleep and go to devrant to reply on comments haha ,
  • 3
    I thought cat only reads files
  • 0
    @Memeamphetamine Yes, but you can pipe cat to a file. And we all know the interwebs is just lolcats in pipes.
  • 0
    Yes and I'm sure your cat also smokes those J's behind your back too.
  • 0
  • 0
    @binhex nobody smokes Jordan's man, how do you smoke a shoe ?
Add Comment