Elektrine lite

← Feed

@zwarich@hachyderm.io

Post #3028186

2026-06-01 18:18 UTC

@joe@f.duriansoftware.com What syntax were you proposing, `do { ... }` or something else?

Replies (1)

  • @joe@f.duriansoftware.com 2026-06-01 18:20

    @zwarich@hachyderm.io i was proposing the absolutist "everything should be an expression" pov. lately, we've been inching in that direction though; `if` and `switch` can be used as expressions with single-expression arms now, and there is an ongoing proposal to do the same for `do` blocks as well as `if`/`switch` in full generality

    Open ##3028184