Applying the Linus Torvalds “Good Taste” Coding Requirement
Speaking of coding niceties, when I started branching out from bash into a &#x27;real&#x27; language, Python, I couldn&#x27;t find a switch statement. A colleague of mine said that Python didn&#x27;t have one, and that switch statements were a &#x27;code smell&#x27;. I didn&#x27;t really understand that, and asked about those times that you genuinely could use a switch statement, and the answer was &quot;just use a long if-else function&quot;. I can&#x27;t remember his justifaction for it, so clearly it didn&#x27;t stick<p>I still don&#x27;t see the real pragmatic difference between a switch statement and a long if-else function - anyone feel like ELI5&#x27;ing it for me? Switch statements just seem more concise and readable to me...