[phobos] Column limits again

spir denis.spir at gmail.com
Sun Apr 10 05:19:06 PDT 2011


On 04/10/2011 10:15 AM, Robert Jacques wrote:
> My take would be a soft limit at 80 and a hard limit at min(80+indent,
> some_upper_limit). Also, we should consider if short, inline comments and
> assert/enforce error messages should have a different soft limit than regular
> code. (i.e. recommend code in lines 1-80 with brief comments in 80-100/120.)

+++

(Not a Phobos contributor). I find silly and annoying to artificially split 
single-line string defs in general. Would make a no-limit for this.

         enum valueRangeErrorFormat = "Expected numeric value in range %s..%s, 
\n" ~
                                      "found: %s.";    // GRRR!

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the phobos mailing list