|
On 17/09/2012 18:08, Egor Skriptunoff wrote:
On 9/17/12, Miles Bader <miles@gnu.org> wrote:Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> writes:The same problem occurs with print(64..s)But, why would anybody write that instead of print("64"..s) ? -milesI stumbled upon it when I was trying to write something like this: print(n+1..' rabbits')
Sometime, I dream of a language forcing to put whitespace around operators. I believe it helps readability, and it would reduce or eliminate such ambiguity...But I don't know if it would be popular, some programmers like compact code (or hate typing, but a good IDE can help here).
-- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- --