Matthew Moss
1/31/2009 6:28:00 PM
On Jan 31, 2009, at 11:35 AM, Thomas Hafner wrote:
> Matthew Moss <matt@moss.name> wrote/schrieb <0854D1BD-5291-4896-8233-AECA6C6A3EF5@moss.name
> >:
>
>>> 1
>>> + 2
>>>
>>> 1 +
>>> 2
>>
>> Perhaps you should write 1 + 2 and be done with it.
>
> Totally agreed :-)
>
> I meant ``1'' and ``2'' to be placeholders for more complex
> expressions.
True; I understood what you were getting at... But I think, perhaps,
you were going a bit overboard in intent.
If you're going to break 1+2 over a line, then parenthesis (or
simplification of expressions, perhaps) becomes a necessity.
But something like:
(def foo
(stuff goes here
)
end)
This seems overdoing it. If you're constantly writing it in "correct"
form that doesn't require parenthesis, then it is wasted, adds
complexity, and begins to look like you have motives other than
protecting:
1
+ 2