News for hackers. Stuff that matters.
Re:Why I prefer objects over switch statements by georgeecollins on Friday February 22, 2019 @03:05PM (#19228649)
And the problem with switch in example is solved with a set of brackets. Why is that so bad? That code with brackets would be clear.
Re:Why I prefer objects over switch statements by ezekg on Saturday February 23, 2019 @12:19AM (#19231816)
It always surprises me how few people use brackets on switch statements when the situation calls for one.