DEV Community

Discussion on: The 5 Guidelines to Write Cleaner Code in C#

Collapse
 
shawnstoddard profile image
Shawn Stoddard

Good article. Inheritance can be such a trap in many cases. Interfaces are another great, but not always well understood tool.

BTW: you might fix the name of the constructor in your engine data class - I’m betting EmployeeTaxData isn’t what you intended.