<div dir="ltr"><div><div>-1</div><div><br></div><div>The more I think about the &quot;switch&quot; statement, the more I feel it ought to rewritten from scratch to be based on operators, like the ternary. Whenever I consider using a &quot;switch&quot; statement in my code, I feel a small twinge of reluctance. For something as basic as choosing between more than two cases, the syntax is too verbose for my liking. <br></div><div><br></div><div>Having said that, if we&#39;re not going to make the &quot;switch&quot; statement less verbose (and let&#39;s face it, it&#39;s we&#39;re not) then we ought to at least take advantage of its benefits. And one of those benefits is that almost all programmers already know its syntax from other C-inspired languages. So I don&#39;t think we should mess around with it.</div></div><div><br></div></div>