|
|
|
|
|
by quickthrower2
1810 days ago
|
|
The best code is the code that doesn’t need to be read at all. This takes a lot of skill in abstraction. For example code a “user data cache” with lots of user concerns and people will be reading that code a lot. Code a “generic cache” and test the hell out of it and it’ll never need to be read (or rarely) There will need to be code that deals with users but it can interact with the cache so where business logic ends and caching begins is obvious. Then repeat: how can you split the user code up into generic concepts? Users vs. roles vs. credentials? |
|