You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2020. It is now read-only.
When we switch to creating a real class for the object, the object itself can manage its status... For example the primary and secondary number can never be negative, or the order of dateFrom and dateTo needs to be consistent.
Data that isn't coming from some external API but is created within the code itself, should not use interfaces but real classes.
Example:
When we switch to creating a real class for the object, the object itself can manage its status... For example the primary and secondary number can never be negative, or the order of
dateFromanddateToneeds to be consistent.