Re: [melbourne-pug] config files? pfft!

2013-02-28 Thread Jonathan Morgan
Hi Sam, Interesting point (and probably good for internal config). Just a few questions (from what I use config files for - user accessible configuration): 1. How do you deal with syntax errors when the user modifies this file? (yes, you have to deal with file format errors with flat files, but

Re: [melbourne-pug] config files? pfft!

2013-02-28 Thread Rory Hart
1. Syntax errors are just like any exception, they can be caught, handled and reported to the user. 2. Yes but they can do that in other ways just as easily. 3. Yes, for example in one of my projects I load a settings file/module and do a getattr on it which allows easily defined defaults no