On Sunday, January 25, 2015 at 6:50:31 AM UTC+10, Erik Schnetter wrote: > > ... and then we can also allow functions calls with white-space syntax? > > y = sqrt x >
Adds more ambiguities though, is sqrt x+y sqrt(x)+y or sqrt(x+y) ? Cheers Lex > > -erik > > > On Jan 24, 2015, at 15:48 , Ivar Nesje <[email protected] <javascript:>> > wrote: > > > > See also #7232 where the suggestion is to disallow space before the > parenthesis in function definitions and function calls. That will at least > make julia code more consistent in that functions and macros work more > similarly. > > > > lørdag 24. januar 2015 17.00.17 UTC+1 skrev Erik Schnetter følgende: > > On Jan 24, 2015, at 2:53 , Ivar Nesje <[email protected]> wrote: > > > > > > See also > > > > > > @test(1, 2, 3, 4) > > > > ... and compare this to > > > > @test (1, 2, 3, 4) > > > > (with white space before the parenthesis). > > > > That's a part of Julia's syntax that I don't like. On the other hand, > the ability to pass whitespace-separated arguments to macros instead of > only comma-separated values is a very powerful feature, as it allows > passing in statements without having to wrap them in parentheses. > > > > -erik > > > > -- > > Erik Schnetter <[email protected]> > > http://www.perimeterinstitute.ca/personal/eschnetter/ > > > > My email is as private as my paper mail. I therefore support encrypting > > and signing email messages. Get my PGP key from > https://sks-keyservers.net. > > > > -- > Erik Schnetter <[email protected] <javascript:>> > http://www.perimeterinstitute.ca/personal/eschnetter/ > > My email is as private as my paper mail. I therefore support encrypting > and signing email messages. Get my PGP key from https://sks-keyservers.net. > > >
