4 ms·
It’s hard to flip your brain, but abstractions are bad. Copying code for different business purposes is good. Simple patterns are vastly better than complex fra
by ChicagoDave 6y ago
It’s hard to flip your brain, but abstractions are bad. Copying code for different business purposes is good. Simple patterns are vastly better than complex frameworks, even if you think it improves unit or integration testing.
- Wilem82 6y ago> abstractions are bad They're as good as you make them. Abstractions aren't bad by themselves. > Copying code for different business purposes is good. Only when it makes sense, ie when you can't make a good abstraction.
- ChicagoDave 6y agoNope. Different domains shouldn’t share code or data. One domain may have a customer record with address info and another domain may have a customer record with past purchases. Abstractions end up wiring things together that blur business rules.