DEV Community


Discussion on: Writing Clean Code

nickspag1 profile image
Nick Spagnola

To get too granular for anyone's good- can you say why the break in the private case of the switch is indented but not in the public case? Guessing it has something to do with the one liner vs the logic, but curious to see a professional's reasoning?