there are cases where i want a default behaviour o...
# getting-started
j
there are cases where i want a default behaviour on instantiation if the parameters are not valid
a
jan.rabe: This sounds like a job for a factory 😄
j
well i tried to come up with a use case, thing is i don't see a reason why it was not allowed
just because there are other ways, doesn't mean it should be forbidden
a
or validate them before instantiate 🙂