MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/functionalprogramming/comments/16rmdo7/why_oop_sucks/k2en9hr/?context=3
r/functionalprogramming • u/Training-Marsupial-5 • Sep 25 '23
81 comments sorted by
View all comments
Show parent comment
1
Design your database tables so that all of the tables can be modeled with one parent class and one subclass per table. Then you just need one class of CRUD methods to handle single records or multiple records.
View all comments
Show parent comment
1
u/Top_Community7261 Sep 27 '23
Design your database tables so that all of the tables can be modeled with one parent class and one subclass per table. Then you just need one class of CRUD methods to handle single records or multiple records.