3 ms·
Generalize the business logic in to things you do all the time, with data that you lookup as part of the context. In that way your program is actually more fle
by mjevans 10y ago
Generalize the business logic in to things you do all the time, with data that you lookup as part of the context.
In that way your program is actually more flexible, there aren't magic numbers or magic things that happen only in some cases. Those have been moved to co-residence with the data they belong with.