http://qs321.pair.com?node_id=181449


in reply to Re: Logical expression style
in thread Logical expression style

"Think about column addition:"

Is that because we learnt math long hand? :) I wonder if it will change as students learn math more and more on the calculator or computer...

--
Until you've lost your reputation, you never realize what a burden it was or what freedom really is. -Margaret Mitchell

Replies are listed 'Best First'.
Re: Re: Re: Logical expression style
by John M. Dlugosz (Monsignor) on Jul 15, 2002 at 15:33 UTC
    No, a grocery list, TODO list, and expense/income list are all instictivly written in a column. We still do that when making a spreadsheet.

    I think it's our bias to put the +/- before the item; it works just as well after:

    17.00 Credit 20.89 Debit ...
    But the common thing is that the operator and its operand are on the same line. In the infix notation used by Perl and most common languages, that means putting it on the left. In RPN-style calculators, it means putting it on the right.