Skip to content

Consider a more descriptive keyword instead of "let" #289

Closed as not planned
@stasm

Description

@stasm

let is clear enough, but I think we have an opportunity to use a keyword that directly relates to the name that we choose for these let bindings (#248). This would be self-explanatory and easier to learn and search for. For example:

local $foo = {$count :number}   // ...and call them "locals"
alias $foo = {$count :number}   // ...and call them "aliases"
macro $foo = {$count :number}   // ...and call them "macros"
decl $foo = {$count :number}    // ...and call them "declarations"
expr $foo = {$count :number}    // ...and call them "named expressions"

Originally posted by @stasm in #287 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    syntaxIssues related with syntax or ABNF

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions