Nuwan Arambage wrote:
In enterprise software development context, what circumstances doesn't allow you to use OOP as a programming paradigm.
Kristofer Hindersson wrote:Because I can't imagine how that would be done without the code becoming more confusing to read.
but I also think theres a point of diminishing returns beyond which it causes more trouble than it's worth to try to force a separation.
Marco Ehrentreich wrote:
Wrong, you should ALWAYS check the preconditions in public methods.
Uhm... I talked about private methods in this case.
Marco Ehrentreich wrote: it's OK to have no null checks in this method because it simply expects that parameters should not be null when the method is used correctly