Open nus-pe-bot opened 4 years ago
"Optional arguments" as in it is optional to the general Command
class, but for implementing different Command
subclasses that require these arguments to be compulsory arguments, they can check the validity and existence of these arguments. It is also not wrong to pass in extra arguments that the specific Command
subclass might not need, but how it is handled will depend on the specific Command
subclass.
--
Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.
It seems strange that some "optional" arguments are "compulsory". It might be a bit confusing since these are supposed to be opposites.
[original: nus-cs2113-AY2021S1/pe-interim#1694]