Static Constructors

Jarrett Billingsley jarrett.billingsley at gmail.com
Sat Oct 4 17:21:19 PDT 2008


On Sat, Oct 4, 2008 at 2:22 PM, bearophile <bearophileHUGS at lycos.com> wrote:
> Saaa:
>> foreach (Fruit f; fruit)
>> {
>> f.stuff();
>> }
>
> Note that often this is enough:
>
> foreach (f; fruit)
>    f.stuff;
>
> But I generally put the parentheses:
>
> foreach (f; fruit)
>    f.stuff();
>
> Bye,
> bearophile
>

Uh, ok, who cares what coding style you use?


More information about the Digitalmars-d-learn mailing list