On 09/04/2008, Bram Moolenaar <[EMAIL PROTECTED]> wrote:

  >  Antony Scriven wrote:
  >
  > > On 08/04/2008, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
  > >
  > > > I have been preparing a talk for the upcoming FISL
  > > > conference in Brazil:
  > > > http://fisl.softwarelivre.org/9.0/www/
  > > >
  > > > One of the items I planned to discuss is why Vim has no
  > > > floating point support.  Well, this turned into actually
  > > > implementing it.
  > > >
  > > > The main problem with floating point is that the usual
  > > > notation already has a meaning:
  > > >
  > > >        echo 123.456
  > > >           123456
  > > >
  > > > [...]
  > >
  > > How many people actually do that? Should they be doing that?
  > > IMHO I'd force people to use whitespace for concatenation in
  > > this case (i.e.  123 . 456) and have 123.456 be a floating
  > > point number. That's how Perl works, for example. --Antony
  >
  >
  > Search in existing scripts and you will find examples of
  > doing string concatenation like this.  I don't want to
  > break existing scripts in some obscure way.


Okay, but I meant that spaces should be required just for
 numbers. I bet those examples are harder to find in existing
 scripts, if they exist at all. Why would anyone put 1.2 in
 a script in favour of '12'? --Antony

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui