On Fri, Apr 29, 2011 at 12:24 AM, Jean Christophe André <[email protected]> wrote: > Gwenhael Le Moine a écrit : >> [23:52:13]@tiga:~/Films☻ $ irb >> irb(main):001:0> p 6/2*1+2 >> 5 >> => 5 >> irb(main):002:0> >> >> [23:52:31]@tiga:~/Films☻ $ python >> >>> print 6/1*1+2 >> 8 >> >> So if I want the same result I need () which I end up using even when >> not strictly necessary, even more keystrokes :P > > No, if you really want the same result what you really need is to enter > the same expression! ;-) > > progfou@virus:~$ python >>>> 6/2*1+2 > 5
and in Smalltalk : 6/2*1+2 => 5 but : 2+6/2*1 => 4 Any ideas why ? Regards, -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Every DSL ends up being Smalltalk http://doesnotunderstand.org/ _______________________________________________ POST RULES : http://wiki.hanoilug.org/hanoilug:mailing_list_guidelines _______________________________________________ HanoiLUG mailing lists: http://lists.hanoilug.org/ HanoiLUG wiki: http://wiki.hanoilug.org/ HanoiLUG blog: http://blog.hanoilug.org/
