From: Phillip Gawlowski Date: 2010-11-03T17:20:02+09:00 Subject: Re: Strange whitespace parsing behavior on Ruby 1.8.7 (patchlevel 249/302) On Wed, Nov 3, 2010 at 6:45 AM, Ehsanul Hoque wrote: > That makes sense. But the inconsistency between the different behaviors given just a small difference in whitespace is still quite off-putting. One whitespace or an infinite number is rather irrelevant. A small difference to you is a world of difference for a computer. ;) > Also how is this line parsed?: > > x.slice(1, x.size -2) > > - It seems unreasonable to parse it any way other than that intended. Computers can't read your mind. They do what you tell them, not what you mean. That results in you having to do the work of expressing your thoughts in terms the computer can actually understand and that are also logically correct. -- Phillip Gawlowski Though the folk I have met, (Ah, how soon!) they forget When I've moved on to some other place, There may be one or two, When I've played and passed through, Who'll remember my song or my face.