Skip to content

R8: words not SCREAMING_SNAKE; one spelling per keyword; error message (3.2) #752

Description

@ako

Phase 3.2 in the proposal (R8).

  • Page actions become words: SHOW_PAGE, SAVE_CHANGES, CLOSE_PAGE, CALL_MICROFLOW, CREATE_OBJECT, DELETE_OBJECT, OPEN_LINK, SIGN_OUT and COMPLETE_TASK become the microflow words, e.g. OnClick: show page ….
  • One spelling per keyword. Remove DELETE_AND_REFERENCES, the optional underscores, ELSEIF and returns nothing.
  • One "error message" keyword: not null error, feedback and error_message all become error message '…'.
  • Lowercase keywords are canonical. Property keys are case-preserved identifiers (fmt must not upper-case them).

Tracking: #714. Language rules: ADR-0010/0011/0012. Changes of meaning apply only under the mdl 1 header; old spellings stay as registered deprecated aliases, each with an fmt --upgrade rewrite (#742).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions