Skip to main content
3 events
when toggle format what by license comment
Jan 13, 2016 at 22:37 comment added supercat I'd suggest a third type: a mutable container, whose purpose is to hold one or more values; in many cases, a container should not be expected to have much in the way of logic or validation. Code which needs a method to compute six positive integers may pass a container for six integers to the method which will store the results therein. Responsibility for ensuring the numbers are positive should generally lie with either the caller or the called method, not with the container.
Jul 16, 2013 at 15:46 history made wiki Post Made Community Wiki by Dale
Oct 3, 2011 at 8:35 history answered mP01 CC BY-SA 3.0