Another argument for the required by default is that we have required by default parameters <str>$var. So symmetry with properties and links is very nice. Otherwise, you need more mental space to remember which one is optional and which one is required and will mess around multiple times before remembering (it's very common to mess up with things that have opposite defaults).
Another argument for the required by default is that we have required by default parameters
<str>$var
. So symmetry with properties and links is very nice. Otherwise, you need more mental space to remember which one is optional and which one is required and will mess around multiple times before remembering (it's very common to mess up with things that have opposite defaults).