2 ms·
I found the article interesting, but I wonder why he didn't also discuss using 'switch/case' which would surely have been more appropriate than a succession of
by anigbrowl 13y ago
I found the article interesting, but I wonder why he didn't also discuss using 'switch/case' which would surely have been more appropriate than a succession of IF statements.
Of course you can screw things up with switch/case too, but in my limited experience that usually involves a design flaw rather than just a typo.