Comments on: The case of the switch http://www.terminally-incoherent.com/blog/2006/04/19/the-case-of-the-switch/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Chris Wellons http://www.terminally-incoherent.com/blog/2006/04/19/the-case-of-the-switch/#comment-12078 Fri, 17 Apr 2009 16:04:07 +0000 http://www.terminally-incoherent.com/blog/?p=498#comment-12078

It provides nice symmetry and consistency of all the cases. Compiler optimizations would likely toss it out anyway, so there wouldn’t be a performance penalty. It might be helpful for future maintenance in, say pattern matching replacement.

Personally I like it there.

Reply  |  Quote
]]>