in reply to Logical expression style
Operator at the beginning is better for end-of-line comments--I wan't those immediatly after the thing being commented upon, not after enclosing syntax elements.
Think about column addition:
That makes for readable code:+45 -12 + 3
That works for booleans sometimes, too.$x= $principle # last month's value +$interest # interest between last payment and today -$payment # current remittence ;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Logical expression style
by greenFox (Vicar) on Jul 13, 2002 at 03:48 UTC | |
by John M. Dlugosz (Monsignor) on Jul 15, 2002 at 15:33 UTC |
In Section
Meditations