Exceptional coding style

Jacob Carlborg doob at me.com
Thu Jan 17 23:40:13 PST 2013


On 2013-01-18 08:21, simendsjo wrote:

> Well.. :)
> enum E
> {
>    S      = 0x01,
>    Longer = 0x10,
> }
>
> After:
> enum E
> {
>    S = 0x01,
>    Longer = 0x10,
> }
>
> Any manual formatting like lining up arguments is always lost. Following
> the recommended style guide for a language by hand isn't that big a
> feat, and allows to break it where you feel your own style is superior.

I'm pretty sure Eclipse even has an option to align assignments like these.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list