4 ms·
It is quite likely that you're hitting the boundaries of what straightforward class-based OO alone can do to help you structure the program. Design patterns hel
by chipsy 17y ago
It is quite likely that you're hitting the boundaries of what straightforward class-based OO alone can do to help you structure the program. Design patterns help if you don't know about them, but even better is to look at a wider range of concepts(examples: functional programming, logic programming, message passing, formalized finite state, and my current subject of interest, relational data structures) and attempt to mix some aspects of them into your code.
If computer science is at heart a mathematical subject, then mathematics informs us that the best way to make a solution more elegant is to restate the problem in a more suitable form.