We have a small team (2-3) of programmers writing a program with a lot of forms and dialogs. We have a problem where we cannot keep good consistency in what we write, or how we write it.
The latest issue I've noted is that we have lots of places where we have a date range, and we use all kinds of wording to indicate this range is it Start/End or From/To or "Between _ and _".
The other side of this is that one of the developers might come up with a better way of doing something (like maybe initializing the state of a check box from the settings file). And then we'll have all of the "old" stuff written in the old/poor way, and new stuff written in a better method.
I try to be constantly vigilant about the first thing, but it seems like I'm always finding new failures.
The second one creates a huge burden if we're going to go back and fix all the old stuff as soon as we come up with a slightly better way of doing something. Either that, or we ignore all old stuff until something is broken, and then we have no clue what the heck the software is doing because its written completely differently than what we write currently.
One last thing, if we push the burden of "fix it everywhere now that you've found it" on the developer who comes up with the better solution, its self defeating, because its like great, that's a better way to check for that error, now fix it everywhere in the code.
Bosses don't really ever seem to care about the quality of the code, just when we'll be able to release the next version (but that's a different discussion).
"Bosses don't really ever seem to care about the quality of the code"
- most bosses who aren't imbeciles realise that quality is important, but a rational business decision is based on cost vs. benefit. It's a lot more difficult to estimate the likely cost of bugs (in terms of customer goodwill and so on) and of maintenance effort than it is to estimate the cost of writing code, so in the absence of information the rational thing to do is de-emphasise it. They need your help to make a better estimate of the likely cost of neglecting quality.