3 ms·
Design Patterns! As you said your problem is "how to decompose into classes/methods/libraries" Book wise, I learnt them from "Head first design patterns" which
by themullet 11y ago
Design Patterns! As you said your problem is "how to decompose into classes/methods/libraries"
Book wise, I learnt them from "Head first design patterns" which is useful and fun or for a quicker overview - http://www.java2s.com/Tutorials/Java/Java_Design_Patterns/index.htm http://www.java2s.com/Tutorials/Java/Java_Design_Patterns/in... .
Also remember if you have other people around you delegate / meet them / bounce ideas together.
- porker 11y agoI 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.