Timeline for Validation of the input parameter in caller: code duplication?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 23, 2013 at 8:55 | comment | added | Bart van Ingen Schenau | @srnka: With "internal logic" I mean the calculations and decisions in a function. It is essentially the implementation of the function. | |
| Feb 22, 2013 at 13:40 | comment | added | srnka | +1 Thanks for answer. Nice reflection: "The check in the callee results in code duplication and lots of unneeded work being done". And in the sentence: "In most cases, no explicit tests are needed because the internal logic and the pre-conditions of the caller already ensure" - what do you mean with expression "internal logic"? The DBC functionality? | |
| Feb 20, 2013 at 15:53 | history | answered | Bart van Ingen Schenau | CC BY-SA 3.0 |