Andrei Alexandrescu wrote:
I have a dream.

* Parameterless functions still can be called without "()". People will realize that it's a prejudice to believe that this impedes code understanding, and their eyes and wrists will thank them.

* The syntax "foo = bar" is rewritten into "foo(bar)" IF AND ONLY IF the expression "auto __x = foo, __x = bar" is compilable.


I like this. Would it also make sense to require that the getter is declared as const or immutable?

-Lars

Reply via email to