News for hackers. Stuff that matters.
Re:Tips to a new django developer by pvg on Monday August 31, 2009 @04:56PM (#796702)
An odd thing thing about this piece of advice is that it contradicts a lot of the previous advice which is 'don't hardcode stuff' This pattern is questionable for another reason - basing the app's configuration on some other, largely unrelated configuration (in this case, that of the network) can lead to elusive and annoying bugs. Configuration problems are much easier to debug when an application is told what its configuration is rather than trying to magically divine it from its environment.

There are no comments on this comment yet.