DEV Community

Decide Design Pattern For Angularjs Mobile App

Amir Khan on September 19, 2017

Starting anything from scratch is fun but at the same time a headache because you have to take into account the future possibilities into conside...
Collapse
 
murindwaz profile image
Pascal Maniraho • Edited

There is a principle(take it as a design pattern) called YAGNI:You ain't gonna need it.Focus on the problem you want to solve now. The future will come with its own challenges.

KISS the first version. If your every new code is in "essence" a refactoring of existing code, then you will notice patterns to apply, as you move forward with your project. Kent Beck formulated: "Make It Work Make It Right Make It Fast". Adding "then" between "make" statements, once again, proves where your efforts need to be now.

Said that, LIFT guidelines by John Papa may help you think what your first version may look like.

Peace!