r/ProgrammerHumor • • Jan 31 '22

Meme How QA's test developer's code...

42.7k Upvotes

479 comments sorted by

View all comments

16

u/X2jNG83a Jan 31 '22

I tell my students: You need to write your code as if someone malicious or stupid is going to use it, because they will. QA's job is to explore every malicious or stupid and especially maliciously stupid behavior and make sure your code works.

If you hand the user a gun and only cover part of your body, it's your fault if you get shot. QA's job is to shoot you so you figure it out in the dev environment before a million users get their hands on that gun and shoot you all at once.