Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tbf python isn't exactly a language that's high in sugar to start with, it doesn't even have switch statements. Not sure why you'd want to take away even more until there's nothing usable left. People have the weirdest hobbies hah


No, but it has the `match` statement which is even better: https://docs.python.org/3/whatsnew/3.10.html#pep-634-structu...


I wouldn't exactly call something only available in 3.10 as something python "has". Most of us haven't moved past like 3.8 at best, some still using 2.7 for legacy stuff even.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: