News for hackers. Stuff that matters.
Re:How to be a better programmer in 6 minutes by anamax on Tuesday February 10, 2009 @11:38AM (#475403)
> not hardcoding it as a constant.

The bits have to be somewhere. The question is whether they appear one place per "meaning" or they're at every use.

Normalization is not just for databases.

> In any case, changing the string value here should be considered a program refactoring and done the same way you would do any other refactoring.

Which refactoring tools can distinguish "obj" (used as a prefix for object file temp names) from "obj" (used as a prefix for orange bear jumpsuit part numbers), let alone 0 from 0?

There are no comments on this comment yet.