Currently, we use postfix notation both for passing arguments to functions, and when accessing properties and functions of objects.
This, however, might make code less readable.
Description of the feature
Use dot notation for:
Accessing functions of objects
Accessing properties/fields of objects
We can still use postfix notation when passing arguments to functions, or when chaining function calls.
Description of potential solution
Just change the parsing rules.
As a bonus, this should make desugaring a lot easier.
Current Issue
Currently, we use postfix notation both for passing arguments to functions, and when accessing properties and functions of objects. This, however, might make code less readable.
Description of the feature
Use dot notation for:
We can still use postfix notation when passing arguments to functions, or when chaining function calls.
Description of potential solution
Just change the parsing rules. As a bonus, this should make desugaring a lot easier.