Skip to content

[feature] Boring if statement #907

@NousadS

Description

@NousadS

In documentation (first section last snippet) is a description of a pretty boring if statement:

...
if (;false) {
   print("Hello world")!
}
...

I have some ideas for that:

  1. 50% chance that the if condition is inverted
  2. if statements that begin with else and end with if
  3. if condition becomes maybe, then there's a 50% chance the if block runs and a 50% chance the else block runs

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