|
|
|
|
|
by epidemian
4884 days ago
|
|
> good OO for me usually suggests nullary constructors I'm curious, could you please elaborate on this point? If a class has any dependency, i usually find it better to require that dependency to be passed in the constructor, so the constructed instance can always be in a valid initialized state. Why do you find nullary constructors to be good OO? |
|