User Profile
Collapse
-
Thanks for your reply! I have tried similar ideas, but unfortunately that doesn't quite accomplish what I want. Basically I want to avoid a lot of if-statements that would have to be changed all over the place if a parameter was added or changed. I want to achieve loose coupling so that if something changes I would only have to change in one place. In your example, what would happen e.g. if another size was added? Say XLarge or XSmall? And what if... -
Design pattern for cost calculator app?
Hi,
I have a problem that I’ve tried to get help for before, but I wasn’t able to solve it then, so I’m trying to simplify the problem now to see if I can get some more concrete help with this because it is driving me crazy…
Basically, I have a working (more complex) version of this application, which is a project cost calculator. But because I am at the same time trying to learn to design my applications better,...
No activity results to display
Show More
Leave a comment: