| List: | Internals | « Previous MessageNext Message » | |
| From: | Jonas Oreland | Date: | June 25 2009 8:27am |
| Subject: | Re: MySql coding style: Request for deprecation of UPPERCASE typedefs | ||
| View as plain text | |||
> This practice makes it impossible to do unit testing. > > 'include or declare what you use' is a very simple rule, > and makes the code much more maintainable and testable. maybe mysql is not designed to be unit-tested, maintainable or testable. that "MUCH faster compile time for compilers that support precompiled headers" is really a more important goal. /Jonas ps. sorry for the spam...couldn't resist... > -- didrik > >> >> The benefit of this is: >> - Easier to decide what to include >> - Faster compile time for all compilers >> - MUCH faster compile time for compilers that support precompiled >> headers. >> - Easier to handle header files with conditionals as you are less >> likely to include these before all the required definitions are >> defined. >> >> Regards, >> Monty
