Resistance to change
Saturday, January 31, 2009
Why can C developers be happy with using config.h to get constants about where to look for configuration or data files for example, yet Python developers seem to refuse to think of any way they might want to support finding these files in a portable way?
3 comments:
Jesse said...
I don't quite follow what you're asking for.
Anonymous said...
For what it may be worth, the use of a settings.py file as in Django is something that I've adopted for other non-Django projects. It makes my life easier, in that it is a slightly formalized, conventionalized way of adding a method of configuration to a specific project.
PJE said...
Because C programmers have to compile for their code to run, and Python programmers don't. So having another file is "excise" - i.e., work that doesn't assist the developer in reaching their own goals.
New comments are not allowed.