Python Forum
Hello again, all :) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: Hello again, all :) (/thread-38815.html)



Hello again, all :) - nilamo - Nov-27-2022

I've been spending a lot of time with c# over the past couple years, and I'm looking to get back into python for a personal project. But since it's been a few years since I've done anything serious with python, I'd love a heads-up of cool features that have been added, or popular libraries you find yourself using all the time. For context, the last time I was following along, the walrus operator was just added. I think I heard there's a match statement now?


RE: Hello again, all :) - Larz60+ - Nov-27-2022

match is pretty much the same as 'C' switch statement, see: https://docs.python.org/3/whatsnew/3.10.html#syntax-and-operations


RE: Hello again, all :) - snippsat - Nov-28-2022

Hi nilamo

(Nov-27-2022, 08:50 PM)Larz60+ Wrote: match is pretty much the same as 'C' switch statement,
Kind of,but it's much more powerful💪
They looked at how it was done languages such as Scala and Elixir,as C dos not have Structural Pattern Matching.


RE: Hello again, all :) - Gribouillis - Nov-28-2022

Hi Nilamo! Welcome back.