Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hello again, all :)
#1
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?
Reply
#2
match is pretty much the same as 'C' switch statement, see: https://docs.python.org/3/whatsnew/3.10....operations
Reply
#3
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.
Larz60+ likes this post
Reply
#4
Hi Nilamo! Welcome back.
nilamo likes this post
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020