The structure of code is also important

A thing we forget to think or talk about is the structure that code lives in and interacts with. Building a logical directory and name structure for modules, for templates, for static files is as important as well written code.

Recently, I have done a rewrite of the template structure for Todoist - - where improving the structure played a bigger part of the rewrite. I think this picture speaks for itself:

Todoist template directory structure

Code · Code improvement · Code rewrite · Todoist 1. Nov 2009
© Amir Salihefendic. Powered by Skeletonz.