Reasons for code bloat
The reason all those things are no fun is very often code bloat. We've all seen it, and we've all been guilty of creating it.
What causes code bloat though? I haven't thought a whole lot about that, but Chris Heilmann apparently has, since he held a presentation on the subject at the Web Standards Group London Meetup on May 16, 2007.
In the presentation, which by the way is so funny I laughed until my stomach hurt, Chris brings up the following reasons for BECS - Bloated Embarrassing Code Solutions:
- Wrong perception of time needed to accustom ourselves to a project
- Maintenance without using the right tools
- Bad or non-existent documentation
- People do not read or look before they start
- Lack of awareness
- Failure to specialize
- Lack of a front-end build process
Links to the slides, speaker notes, and a podcast can be found in Chris' post Seven Reasons for Code Bloat - My presentation for the WSG London Meetup.