Functional Python with Matthew Rocklin and Alexander Schepanovsky

The Python Podcast.__init__

Episode | Podcast

Date: Sun, 28 Feb 2016 22:00:00 -0500

<p>Visit our <a href="http://pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">site</a> to listen to past episodes, support the show, join our <a href="https://discourse.pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">community</a>, and sign up for our mailing list.</p> <h3>Summary</h3> <p>What is functional programming, why would you want to use it, and how can you get started with it in Python? Our guests this week, Matthew Rocklin and Alexander Schepanovsky, help us understand all of that and more. Matthew and Alexander have each created their own Python libraries to make it easier to employ functional paradigms in your Python code. In this episode they help us understand the benefits that functional styles can have and the benefits that can be realized by trying them out for yourself.</p> <h3>Brief Introduction</h3> <ul> <li>Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.</li> <li>Subscribe on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&amp;uo=6&amp;at=&amp;ct=&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">iTunes</a>, <a href="http://www.stitcher.com/s?fid=64838&amp;refid=stpr&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Stitcher</a>, <a href="http://tunein.com/embed/follow/p726240/#?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">TuneIn</a> or <a href="https://www.pythonpodcast.com/feed/mp3/?utm_source=rss&amp;utm_medium=rss">RSS</a></li> <li>Follow us on <a href="https://twitter.com/Podcast__init__?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Twitter</a> or <a href="https://plus.google.com/+Podcastinit-the-python-podcast?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Google+</a></li> <li>Give us feedback! Leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&amp;uo=6&amp;at=&amp;ct=&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">iTunes</a>, <a href="https://twitter.com/Podcast__init__?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Tweet</a> to us, send us an <a href="mailto:hosts@podcastinit.com">email</a> or leave us a message on <a href="https://plus.google.com/+Podcastinit-the-python-podcast?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Google+</a></li> <li>Join our community! Visit <a href="https://discourse.pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">discourse.pythonpodcast.com</a> for your opportunity to find out about upcoming guests, suggest questions, and propose show ideas.</li> <li>I would like to thank everyone who has donated to the show. Your contributions help us make the show sustainable. For details on how to support the show you can visit our site at <a href="http://pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">pythonpodcast.com</a></li> <li>Linode is sponsoring us this week. Check them out at <a href="http://linode.com/podcastinit?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">linode.com/podcastinit</a> and get a $20 credit to try out their fast and reliable Linux virtual servers for your next project</li> <li>I would also like to thank Hired, a job marketplace for developers and designers, for sponsoring this episode of Podcast.__init__. Use the link <a href="http://hired.com/podcastinit?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">hired.com/podcastinit</a> to double your signing bonus.</li> <li>Your host today is Tobias Macey</li> <li>Today we are interviewing Matthew Rocklin and Alexander Schepanovski about their work on functional libraries for Python.</li> </ul> <h3>Interview with Alexander and Matthew</h3> <ul> <li>Introductions</li> <li>How did you get introduced to Python? &#8211; Chris</li> <li>Can you first explain what functional programming is and how it differs from the procedural or object oriented programming that most Pythonistas are familiar with? &#8211; Tobias</li> <li>How did you get started with functional programming? &#8211; Tobias</li> <li>What are the benefits of functional programming and when might someone want to use functional paradigms in their projects? &#8211; Tobias</li> <li>What is it about functional programming that people find so intimidating and what do you think has led to its recent rise in popularity? &#8211; Tobias</li> <li>What aspects of the Python language lend themselves to being used in a functional manner and where does it fall down? &#8211; Tobias</li> <li>Can you each describe what your respective libraries provide in terms of functional capabilities and what their particular focus is? Are they distinct enough from each other that it would make sense to use them both in a single project? &#8211; Tobias</li> <li>What inspired each of you to create your respective libraries? &#8211; Tobias</li> <li>There is a functools module in the Python standard library that provides some methods that enable functional paradigms. Where does that module fall short and how do your respective libraries augment or replace the functionality in that module? &#8211; Tobias</li> <li>There is also a library named fn.py which provides functional paradigms for use in Python. Can you each compare and contrast it with your own work? &#8211; Tobias</li> <li>There are a number of concepts involved in functional programming such as currying, function composition, immutable data, and pure functions. Can you describe some of those concepts and then explain which of them you tried to incorporate into your libraries? &#8211; Tobias</li> <li>What are some of the resources that you have found to be most helpful when trying to learn and apply functional principles to your programs? &#8211; Tobias</li> </ul> <h3>Keep In Touch</h3> <ul> <li>Alexander <ul> <li><a href="https://twitter.com/hackflow?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Twitter</a></li> <li><a href="http://hackflow.com?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Blog</a></li> </ul> </li> <li>Matthew <ul> <li><a href="http://matthewrocklin.com?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Website</a></li> <li><a href="http://toolz.readthedocs.org?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Toolz</a></li> <li><a href="https://twitter.com/mrocklin?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Twitter</a></li> <li><a href="https://github.com/mrocklin?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">GitHub</a></li> </ul> </li> </ul> <h3>Picks</h3> <ul> <li>Tobias <ul> <li><a href="https://www.datadoghq.com?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">DataDog</a></li> </ul> </li> <li>Alexander <ul> <li><a href="http://www.syfy.com/theexpanse?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">The Expanse</a></li> <li><a href="https://revolut.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Revolut</a></li> </ul> </li> <li>Matthew <ul> <li><a href="http://riemann.io?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Riemann</a></li> <li><a href="http://www.fivedancesthemovie.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Five Dances</a></li> <li><a href="http://distributed.readthedocs.org/en/latest/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Distributed</a></li> </ul> </li> </ul> <h3>Links</h3> <ul> <li><a href="http://rosettacode.org/wiki/Rosetta_Code?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Rosetta Code</a></li> <li><a href="http://toolz.readthedocs.org?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">PyToolz</a></li> <li><a href="http://funcy.readthedocs.org/en/stable/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Funcy</a></li> <li><a href="https://github.com/kachayev/fn.py?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Fn.py</a></li> <li><a href="https://github.com/lihaoyi/macropy?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">MacroPy</a></li> <li><a href="https://github.com/llllllllll/codetransformer?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Code Transformer</a></li> <li><a href="http://www.infoq.com/presentations/Simple-Made-Easy?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Simple Made Easy by Rich Hickey</a></li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a><img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fwww.pythonpodcast.com%2Fepisode-46-functional-python-with-matthew-rocklin-and-alexander-schepanovsky%2F&amp;action_name=Functional+Python+with+Matthew+Rocklin+and+Alexander+Schepanovsky+-+Episode+46&amp;urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&amp;utm_source=rss&amp;utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" /></p>