Skip to content

Expand if/else narrative #4

Open
@jcsherin

Description

@jcsherin
  • You have to always provide the else branch
  • Unless you are returning unit type
  • Rationale for why this restriction is necessary for writing robust production code
  • Is an expression, not a statement

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions