3 ms·
Usually this is good advice. But there are exceptions: enableOutput(bool) is pretty easy to understand. If the function name explains the parameter then
by ape4 12y ago
Usually this is good advice. But there are exceptions:
enableOutput(bool)
is pretty easy to understand. If the function name explains the parameter then its ok.
- spdionis 12y agoWhy not enableOutput() and disableOutput()? enableOutput(false) is also not very clear.
- cnvogel 12y ago...one interpretation might be enableOutput(prefixDate): enableOutput(true) -> enable output with the date prefixed on each line enableOutput(false) -> enable output, date is not prefixed on each line disableOutput() -> disables all output