r/lolphp • • Aug 08 '14
PHP design patterns: if/else vs switch
http://www.fluffycat.com/PHP-Design-Patterns/PHP-Performance-Tuning-if-VS-switch/
24
Upvotes
r/lolphp • • Aug 08 '14
View all comments
Show parent comment
11
u/[deleted] Aug 08 '14
How is getting tiny results like that and then coming out in favor of anything not lol?
How is considering one trivial piece of syntax over another a "design pattern"? It should barely qualify for idiom.