News for hackers. Stuff that matters.
Re:Why I prefer objects over switch statements by s_tec on Friday February 22, 2019 @01:43PM (#19227870)
Plus, you can solve all the issues the article points out using linting tools like ESLint. Rules like no-case-declarations, no-duplicate-case, and no-fallthrough already exist for this exact purpose.

There are no comments on this comment yet.