List:Internals« Previous MessageNext Message »
From:Jonas Oreland Date:June 25 2009 10: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

Thread
MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen22 Jun 2009
  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMats Kindahl22 Jun 2009
    • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius24 Jun 2009
      • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen25 Jun 2009
        • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius27 Jun 2009
      • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMats Kindahl25 Jun 2009
        • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius27 Jun 2009
          • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsJay Pipes27 Jun 2009
          • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen29 Jun 2009
          • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMats Kindahl29 Jun 2009
            • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsKristian Nielsen29 Jun 2009
              • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen30 Jun 2009
                • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMats Kindahl30 Jun 2009
                • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsKristian Nielsen30 Jun 2009
                  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen1 Jul 2009
                    • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsKristian Nielsen1 Jul 2009
                  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsKonstantin Osipov1 Jul 2009
              • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsKonstantin Osipov1 Jul 2009
                • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsKristian Nielsen2 Jul 2009
  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsKonstantin Osipov22 Jun 2009
    • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsRoy Lyseng22 Jun 2009
      • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen23 Jun 2009
        • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMats Kindahl23 Jun 2009
          • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen23 Jun 2009
            • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMats Kindahl23 Jun 2009
              • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius27 Jun 2009
                • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMats Kindahl30 Jun 2009
            • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius24 Jun 2009
              • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen25 Jun 2009
                • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsJonas Oreland25 Jun 2009
                  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsDavi Arnaut25 Jun 2009
                    • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius27 Jun 2009
                  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius27 Jun 2009
                • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsJay Pipes25 Jun 2009
                  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMats Kindahl25 Jun 2009
                  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius27 Jun 2009
                • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius27 Jun 2009
                  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMats Kindahl30 Jun 2009
              • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMats Kindahl25 Jun 2009
                • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius27 Jun 2009
                  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsJay Pipes27 Jun 2009
                    • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius30 Jun 2009
                  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsJay Pipes27 Jun 2009
                    • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsMichael Widenius1 Jul 2009
    • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen23 Jun 2009
  • Re: MySql coding style: Request for deprecation of UPPERCASEtypedefsSergei Golubchik22 Jun 2009
    • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen23 Jun 2009
      • Re: MySql coding style: Request for deprecation of UPPERCASEtypedefsSergei Golubchik23 Jun 2009
        • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen23 Jun 2009
  • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsAlex Esterkin1 Jul 2009
    • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsTor Didriksen1 Jul 2009
    • Re: MySql coding style: Request for deprecation of UPPERCASE typedefsKonstantin Osipov1 Jul 2009