Thursday, May 24, 2018

Design Tip - Write Honest Methods

As developers we learn that giving meaningful names to methods produces clean, readable and maintainable code. However, that’s not all we should be concerned about when it comes to method signatures. There are two other aspects of a method signature that must be given consideration when writing code: a) parameters b) return value.

source https://www.c-sharpcorner.com/article/design-tip-write-honest-methods/

No comments:

Post a Comment