Hacker News new | ask | show | jobs
by cma 3899 days ago
Ruby had to make changes for almost this exact syntax case after it bit people by the thousands, they added:

     foo () (irb) :2: warning: don't put space before argument parentheses .
1 comments

Julia, as of v0.4, has deprecated this syntax [1]. I am not sure where it originally stems from, C? It makes sense from a compiler stand-point since the argument call semantics would most likely be inferred after tokenisation.

[1]: https://github.com/JuliaLang/julia/commit/28e7bd4536d06a9e13...