Geeks With Blogs
Madhawa Learns To Blog : C#, Java .net, c#, java,sql, OOAD and more mad memory dumps... August 2006 Entries
Best practices on Object Model Design
Last week I got some emails from colleagues regarding “C# Coding Standards”. Lance Hunt’s “C# Coding Standards for .NET” caught my eye and especially the part about Object Model Design. Always prefer delegation over inheritance. Avoid “Premature Generalization”. Create abstractions only when the intent is understood. Do the simplest thing that works, then refactor as time permits. Always make object-behavior transparent to API consumers. Always separate presentation ......

Posted On Tuesday, August 29, 2006 3:17 PM

Copyright © Madhawa Karunaratne | Powered by: