4 ms·
I bought my first "Head First Design Patterns" 12 years ago, worked through it, and it didn't make sense. I've dipped into PoEAA and Gang of Four since, with th
by porker 11y ago
I bought my first "Head First Design Patterns" 12 years ago, worked through it, and it didn't make sense. I've dipped into PoEAA and Gang of Four since, with the same problem. The way messy life is meant to fit patterns... it didn't gel.
Any thoughts?
And thanks for your great reminder about meeting up to bounce ideas around. I'm going looking for them.
- themullet 11y agoDifficult problem, I do know what you mean about fitting messy life into patterns, that said some can still be invaluable at times. Something like a singleton would be handy to stop multiple creation of an object, for web design mvc just makes life a lot easier by decoupling different parts and in theory for your project something like an observer pattern could be created to notify other systems to a state change. http://www.java2s.com/Tutorials/Java/Java_Design_Patterns/0170__Java_Observer_Pattern.htm http://www.java2s.com/Tutorials/Java/Java_Design_Patterns/01... In the end there's many ways and approaches, maybe even brushing up some class design stuff in another language might help. Good luck on your journey, sounds like you'll be fine.