| ▲ | TZubiri 6 hours ago | ||||||||||||||||
"OOP actually makes a ton of sense for CRUD and database operations." Not at all OOP is great at simulations, videogames, emergent behaviour in general. If you do crud with oop you will complain about overengineering. | |||||||||||||||||
| ▲ | sroerick 4 hours ago | parent | next [-] | ||||||||||||||||
I think that's fair, and I generally prefer a lighter stack for CRUD, but I still love Django and Rails. Maybe just having "objects" is not enough to qualify as OOP but for many use cases, the convenience offered by "Batteries Included" is worth the trade off in "overengineering". If I have to build an app, I'm going for rails. If I'm building a back end, I'm reaching for Go. If I need to integrate with Python libraries, Django is great. But ask me again when I get to the other side of some OCAML projects | |||||||||||||||||
| ▲ | jay_kyburz 5 hours ago | parent | prev [-] | ||||||||||||||||
Even in video games, I avoid inheritance, I always much prefer composition. Build a complex object from many small objects, then vary behavior with parameters rather than deriving a child class and overriding methods. | |||||||||||||||||
| |||||||||||||||||