Mert
Member
This is really handy in Golang. An example:
This is just a suggestion, and may not be important: But surely looks better instead of if else blocks.
Would this feature be good to send a suggestion request to Yoyogames?
Code:
switch {
case speed<10:
//...
case name == "Miller":
//...
default:
//...
}
Would this feature be good to send a suggestion request to Yoyogames?