Embed Notice
HTML Code
Corresponding Notice
- Embed this noticeHey @ryo I've been reading through your "scams" sections, which is great, and had a question about OOP.
Are you okay with data as objects (related information being grouped together), or do you think the best approach is to flatten all of the data into a clean ERD database?
At one point I was seriously considering the functional language paradigm, but when I found out that their solution to data, was to push all the relationships and rules into the database, that didn't seem like a good solution xD (and their mantra of no mutating state, is undermined by just delegating it to a different layer of their program. It is like shutting down your coal power plant, but importing your power from another country that burns coal)
Overall though, I agree, procedural is easier to write, less error prone, and even when the final solution may need to be similar objects with various concurrent states, trying to write that first, is much more likely to fail xD