Re:Ask YC: Fewer lines of clever code or more lines of clear...
by aaronblohowiak on Sunday June 22, 2008 @09:43PM
(#224587)
A separation of concerns is not just good for flexibility, it also helps with debuggability and readability and is a reflection of ability.
EDIT: And yes, I agree, if I ever decide to make events more fancy than just dropping in a DIV on the timetable, I'll probably have to do a bit more. But of course, only a couple things will change then, and I can just write those as helper functions for this function.