News for hackers. Stuff that matters.
Re:Crimes with Python's Pattern Matching (2022) by siddboots on Thursday August 21, 2025 @06:21PM (#44978802)
Can you explain why? Genuinely curious as a lover of case/match. My only complaint is that it is not general enough.
Re:Crimes with Python's Pattern Matching (2022) by kurtis_reed on Thursday August 21, 2025 @07:37PM (#44979495)
Double indentation
Re:Crimes with Python's Pattern Matching (2022) by maleldil on Friday August 22, 2025 @02:20PM (#44987863)
So? Other languages with pattern match similarly have such double indentation. C-style switch with unintended cases is weird.