Skip to content

Syntax Proposals #1

@theypsilon

Description

@theypsilon

This issue is to discuss changes on the syntax that could or could not happen at the version 1.0.

I'm not particularly happy with the current syntax, and I couldn't come up with something better, so any feedback in this regard would be highly appreciated.

My goals would be the following:

  • Syntax must be greppable. Right now, I can achieve that thanks to the fn and : parts.
  • Syntax must be not too verbose. I have the feeling that the need to use a pair of attributes is verbose on its own, so it would be great if we can reduce the verbosity within these margins.
  • Syntax must be easy to remember, and close to idiomatic.
  • Syntax shouldn't look too magic or confusing.

After all that being said, I don't think syntax is super important. And minor or opinionated changes shouldn't be taken seriously unless the advantages are clearly worth it. If there is no big improvements in this front, syntax will stay the same as it is now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions