See also #7232 <https://github.com/JuliaLang/julia/issues/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] <javascript:>> > 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] <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. > > >
