Skip to content

Move towards expression-based programming #6

@ijchen

Description

@ijchen

In expression-oriented programming, every (or nearly every) construct is an expression which yields a value. Rust is expression-oriented, which I have found to be very pleasant. For me, it has yielded a more clear mental model of exactly what the program is doing, and feels like there are fewer "special cases" I have to keep track of in my head.

Unresolved quesitons:

  • How much of the language can become expressions (surely not everything... right?)
  • What is an expression? (formally)
  • What are the implications of this for day-to-day usage of the language?

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