2 ms·
In case guard-clause is used for input-validation, how about extracting the arguments to a class of which constructor prevents instantiation of a class with inv
by mikmoila 9y ago
In case guard-clause is used for input-validation, how about extracting the arguments to a class of which constructor prevents instantiation of a class with invalid input, and pass that to the function?