Re:Introducing C# in Godot
by knocte on Sunday October 22, 2017 @04:21AM
(#15525740)
I think switch blocks are only worth it when you have 2 or more `else if`, otherwise a normal `if` is more readable IMHO.
[ Parent
| on HN ]
Normally I'd agree, but I really like the concise but readable way this handles the casting for you.