grapefrukt @grapefrukt.com · 23d

you can also do these, but only for things that return something!

2 likes 2 replies

?

Replies

martin pichlmair · 23d

That looks super handy.

Nifflas · 23d

oh yeah, switch expressions are neato! I very recently learned about them. I frequently go for the approach of an array of Action delegates, and use an enum as the index