-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Omitting parentheses #4
Comments
Thanks for your kind words. I am not sure what you mean by omitting parenthesis. You can definitely omit then on the declaration:
Maybe you mean omitting at call time? It is not impossible to do but it is definitely a more complex process. |
Sorry I read again and I have seen you said at call time. This definitely possible to implement but I have personally a strong distaste for omitting then at call time. This is against the explicitness of Python and I find it makes the source code more difficult to read. I am discovering how CoffeScript works, e.g.
It kinda make sense and should be rather easy to implement as the syntax seems to be non contextual to previous function declaration. |
@batiste , I think that this is only because you didn't used to it. Also I'd like to sugges block comment / array / object / string literals from that project. |
@vlad1777d I have used them in Ruby and I have found it makes some piece of code extremely difficult to read. Explain to me what that does: a b c Is it a(b, c) or is it a(b(c)) ? It terribly ambiguous to me and to many people that are used to c-like language a clear loss in readability. |
@batiste, in CaffeineScript it's passing arguments to some function: If such happens, explicit specifying of parenthesis could help.
|
It would be nice you could omit parentheses at function call (just like CoffeScript or Ruby).
CokeScript compiler code is so easy to read! Thank you for your project.
The text was updated successfully, but these errors were encountered: