132
Developer vs Tester
(media.mas.to)
good Tester.
If something stupid can be done, it will be done.
I've seen this enough times that I laughed without watching it. Funny stuff.
This is why it's important to have tests that assert a system's failure modes too.
shouldFitTriangleInTriangleHole()
shouldNotFitTriangleInAnyOtherHoles()
Bonus points for just parameterizing it.
assert triangleObject.shouldFitInHole(triangleHole) == true
assert triangleObject.shouldFitInHole(squareHole) == false
Anything can be a square hole if you're brave enough.
If a function takes all types of variables it's your own fault!
Poor development! If something can be done, people will do it.
Best way is to not allow it and provide no feedback.
Wait, provide no feedback?
Post funny things about programming here! (Or just rant about your favourite programming language.)