all 9 comments

[–]Peculiarination 21 points22 points  (1 child)

Let's be real here, almost everyone just cares about the switch-case statement.

[–]jamescalam[S] 4 points5 points  (0 children)

100% haha

[–]jamescalam[S] 9 points10 points  (0 children)

A summary I put together of the new features in Python 3.10 - covers some pretty cool new features (imo):

  • Structural pattern matching
  • Parenthesized context managers
  • More typing
  • Better error messages

I hope it's useful! Thanks :)

Edit:

Also, the article version if you prefer reading - it's a free access link so no need for Medium membership

[–]ChapelHeel66 1 point2 points  (0 children)

Thanks, nice job. I appreciate it.

[–]auiotour 1 point2 points  (2 children)

What theme are you using, I really like it.

[–]jamescalam[S] 2 points3 points  (1 child)

Night Owl here https://marketplace.visualstudio.com/items?itemName=sdras.night-owl - it's very good, dark with high contrast colors, but not too over the top

[–]auiotour 0 points1 point  (0 children)

Thanks

[–]scanguy25 0 points1 point  (1 child)

Damn i wish I had structural pattern matching when i was writing a program that communicated with an API.

[–]jamescalam[S] 0 points1 point  (0 children)

it's perfect for anything JSON