Re:Good code is like a love letter to the next developer who...
by The_Colonel on Friday July 21, 2023 @06:30PM
(#36820836)
> If you know that code will be extended to accept additional fields
Well, you rarely know, more often "guess".
There's an important distinction between public and private interfaces. With public interfaces, I contend that it does make sense to think about future use cases and put in some flexibility even at the cost of a small overhead.
Well, you rarely know, more often "guess".
There's an important distinction between public and private interfaces. With public interfaces, I contend that it does make sense to think about future use cases and put in some flexibility even at the cost of a small overhead.