Coding Standards

Roman Ivanov isroman.DEL at ETE.km.ru
Sat Jul 16 09:55:32 PDT 2011


On 7/15/2011 12:46 PM, Walter Bright wrote:
> On 7/15/2011 7:25 AM, Trass3r wrote:
>> And there's lots of D code using that awkward
>> if () {
>> }
>>
>> style. Gross!
> 
> I don't particularly like that style, either, but it's used in the ebook
> because display size is extremely limited and it's more compact.

I find this a strong, objective argument in its favor. Stylistics
preferences are one thing, but when you're stuck coding on a 15-inch
widescreen laptop, those extra newlines become a real pain, because you
see less code at the same time, which results in lots of scrolling.


More information about the Digitalmars-d mailing list