Nick

8%
Flag icon
When constructors are overloaded, use static factory methods with names that describe the arguments. For example,    Complex fulcrumPoint = Complex.FromRealNumber(23.0); is generally better than    Complex fulcrumPoint = new Complex(23.0);
The Robert C. Martin Clean Code Collection (Collection) (Robert C. Martin Series)
Rate this book
Clear rating
Open Preview