gram games | modular programming
Post on 12-Aug-2015
284 Views
Preview:
TRANSCRIPT
PROBLEMS
• Developing Facebook Implementation again and again… … and again
• Hard to read, easy to breakdown
• Bugs, bugs, bugsssss
BASIC PHILOSOPHY
break down your application into as small a code fragments as possible arranged neatly across a
multitude of easily understandable layout
BE CAREFUL!• SRP = Single Responsibility Principle (One Manager = One Task)
• DRY = Don’t Repeat Yourself (User Interfaces/Abstracts anywhere)
• No direct reference to other Managers! Keep it Modular!
• Build an understandable directory layout
• Always keep your listeners clean. Remove your references on destroy
top related