Self-taught Software Engineer
I'm a Software Engineer Passionate about Clean Code, Design Patterns, and System Design. Learning something new every day. Feel free to say Hi on LinkedIn at https://www.linkedin.com/in/mayallo
Markdown supported · ⌘↵ to post
Very good article!
I'm confused with "Strength Class Invariants" and "Weakens the precondition". With those examples it looks like a contradiction.
Carlos Andrés Sierra Betancur
Thanks for the article. One quick question though: isn’t the example in “Covariance of Return Types” violating the “Countervariance of Method Arguments”? The subtype can only receive strings, but the super type can also receive numbers.