Coding Standards

"Jérôme M. Berger" jeberger at free.fr
Mon Jul 18 13:21:23 PDT 2011


Roman Ivanov wrote:
> 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.

	This is the main reason why I prefer this style...

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110718/14bedd45/attachment.pgp>


More information about the Digitalmars-d mailing list