3 ms·
databases are global state (The design pattern here is separation of code from state. OOP couples code (methods) and state (members))
by dustingetz 11y ago
databases are global state
(The design pattern here is separation of code from state. OOP couples code (methods) and state (members))
- bpicolo 11y agoI realize that about databases, yes. I think the particular ways that frameworks have been trying to handle state are bad patterns. Not sure what would be better at the moment, but currently it's a mess.