in reply to Re (tilly) 4: Defensive Programming
in thread Defensive Programming

Yes. I would agree that one needs to balance the two points you made. Personally however I tend not to put unreusable code in functions so I probably give the size rule slightly higher precedence as a consequence. But when the code blocks are not signifigantly different in size the expected result first is the rule I go with as well.

Yves / DeMerphq
--
When to use Prototypes?

  • Comment on Re: Re (tilly) 4: Defensive Programming