Violating DRY

Posted by Brian Fri, 28 Aug 2009 20:36:30 GMT

Teamworks has a nice feature that allows you to create new section and control templates that will appear in your palette when creating coaches. The full potential of this feature is not being realized though.

One central tenet when writing maintainable software is DRY (Don’t Repeat Yourself). This means you only have to change a feature in one location in your application and it will apply everywhere. Teamworks ignores this principle when applying custom templates. Everytime you use your custom section or control in a coach a new copy of it is created in that coach instead of a reference pointing to the shared template. Six months later when you wish to change how that control works you have to update it separately in every coach instead of in one location.

DRY is an important principle of software development for a reason. While Teamworks allows analysts to do some work that used to be done by developers, it is still primarily programming with pictures and proven principles of software development should still be followed.

Tags , ,  | no comments