I’ve been working on some stuff the past few weeks and used OOP on the server and on the client seperately. I just saw some code on here and the client had no OOP at all and I felt like that’s way better on the eyes. It also seemed to reduce the complexity. Now, to be honest, I don’t actually ever had a use to make OOP on the client, but I just felt that that would be the right approach.
What is your preferred style? Do you only use OOP on the server or do you also do the client part in a OOP fashion?
OOP in client vs server isn’t exactly a good question. It might have a good place in one, or both, or neither. You should be looking at the specific problem you’re trying to solve and then figure out if it’s better to model it in objects; otherwise you end up forcing OOP when it shouldn’t be used.
Before I started with OOP I didn’t hear of “forced OOP” and just read about today after googling this question. Seems like I’ve forced it in places it shouldn’t really have been. Oh well, you always learn.