That certainly is a clever way to do it :) and probably more performant than pattern matching. The downside is that it's less readable and I'd have to memorize what each of the enum values represent. And readablility is high on my priority list. Or I could probably use `ord(symNumber)` in the `of` statements. But it would still look a bit less unclear and more prone to bug if I forgot a `+1` somewhere. If pattern matching would end up being a bottleneck performancewise I know were to turn now, thank you very much for your advice! :D
- Any way to avoid nested case statements for proc taking two ... hugogranstrom
- Any way to avoid nested case statements for proc taking... haxscramper_
- Any way to avoid nested case statements for proc ta... hugogranstrom
- Any way to avoid nested case statements for pro... mratsim
- Any way to avoid nested case statements for... hugogranstrom
- Any way to avoid nested case statement... doofenstein
- Any way to avoid nested case state... hugogranstrom
- Any way to avoid nested case s... doofenstein
- Any way to avoid nested case s... hugogranstrom
- Any way to avoid nested case s... xigoi
- Any way to avoid nested case s... hugogranstrom
- Any way to avoid nested case s... xigoi