High maintenance code(blogs.msdn.com)
submitted by
schalkvanwyk(1335) 3 years, 4 months ago
Whenever you write a method think about the contract of that method. What burdens are you imposing upon the caller? Are they reasonable burdens? The purpose of a method should be to make the caller’s life easier; the original version of Lines() makes life harder on the caller. The new version makes life easier. Don't write high-maintenance methods.
|category: Tips & Tricks
|Views: 21
tags:
Tips C# another
Everyones tags:
Your Tags: