u/EmbarrassedBiscotti9

I saw this tweet from gingerBill about `do` -> `then` and realised how much I dislike the `do` keyword in general. It is a trivial difference, but `then` does feel more descriptive/appropriate.

The only Odin feature I regularly find myself longing for is a compile-time `switch`. Perhaps there are tricks I'm unaware of, but I have ended up with unpleasantly large `when`/`else` chains on more than one occasion when writing polymorphic stuff.

It makes no odds to the end result, I'd just feel a bit less shame writing a 40-case `switch` than I do with a 40-case `when`/`else` chain, haha.

Curious if any of you have encountered things that have left you wishing the language had something it doesn't, or for something to work in a slightly different way.

u/EmbarrassedBiscotti9 — 27 days ago