Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

You should have FOMO: What you're missing out if you're still using Python 2.7

139 Aufrufe

Veröffentlicht am

My slides for a talk I gave in Futurice Tech Weekly on Friday, Oct 19th. I showcase some fantastic features and new things that have come to the language since 3.0 almost 10 years ago.

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

You should have FOMO: What you're missing out if you're still using Python 2.7

  1. 1. You should have a FOMO! What you are missing out by still using Python 2.7 Juhis | @hamatti | hamatti.org
  2. 2. Hi, I’m Juhis! Short introduction I build products, teach programming, and run tech communities. Currently dev @ Futurice @hamatti /in/juhamattisantala @hamatti Previously: Dev @ Chartio Dev @ Smartly.io Community & Startups @ Boost
  3. 3. why you should have a fomo* * Fear of missing out 9 years since Python 3.0 was released 25 % of the users still using Python 2.7 A+ So many amazing new features https://www.jetbrains.com/research/devecosystem-2018/python/ (Down from 47% in 2017)
  4. 4. Python 3 releases Version Release date Python 3.0 03-12-2008 Python 3.1 26-09-2009 Python 3.2 20-02-2011 Python 3.3 29-09-2012 Python 3.4 17-03-2014 Python 3.5 13-09-2015 Python 3.6 23-12-2016 Python 3.7 27-06-2018
  5. 5. Print is a function https://www.python.org/dev/peps/pep-3105/ Python 2.7 Python 3.0+
  6. 6. Iterators instead of Lists https://docs.python.org/3.0/whatsnew/3.0.html Python 2.7 Python 3.0+ (range, map, filter, dict.keys, dict.items, dict.values)
  7. 7. Futures https://www.python.org/dev/peps/pep-3148/ http://masnun.com/2016/03/29/python-a-quick-introduction-to-the-concurrent- futures-module.html Python 3.2+
  8. 8. Async & Await https://www.python.org/dev/peps/pep-0492/ Python 3.5+ (reserved keywords from 3.7 onwards) https://stackabuse.com/python-async-await-tutorial/
  9. 9. F STRINGS https://www.python.org/dev/peps/pep-0498/ Python 2.7, using format() Python 3.6+ using F strings
  10. 10. Built-in breakpoint https://www.python.org/dev/peps/pep-0553/ Python 2.7 Python 3.7+
  11. 11. https://www.python.org/dev/peps/pep-0557/ Data Classes Python 3.7+
  12. 12. https://carbon.now.sh/ SHOUTOUT!
  13. 13. Juhis codes @ Twitch Starting something scary I’m testing a new thing this weekend. Sat, Oct 20th 4pm EEST Streaming my rewrite of Proxymon open source project. Come say hi at twitch.tv/hamatti

×