Skip to main content
8 events
when toggle format what by license comment
Dec 19, 2013 at 18:55 vote accept spacesam
Dec 19, 2013 at 8:10 comment added Jocke No, please don't advise to add a switch statement. It's clear that you should replace these conditions with polymorphism (sub classes). You create a Interface or Abstract base class that you use in your class, then each sub class defines its own behavior. This will make your code easier to read and maintain.
Dec 19, 2013 at 1:17 answer added mnsr timeline score: 3
Dec 19, 2013 at 0:06 answer added Kyle timeline score: 6
Dec 18, 2013 at 22:44 answer added Jesse C. Slicer timeline score: 5
Dec 18, 2013 at 22:33 history tweeted twitter.com/#!/StackCodeReview/status/413436811495899136
Dec 18, 2013 at 18:21 review First posts
Dec 18, 2013 at 18:25
Dec 18, 2013 at 18:02 history asked spacesam CC BY-SA 3.0