The book’s subtitle is: Playful Programming Activities to Make You Smarter. Did it make me smarter? Read on to find out.
After that small discussion on Y Combinator, we are back to monads! In the previous article on monads, we saw how we can use the the Result monad to chain a sequence of API calls together while automatically handling any failures along the way. In this article we will learn
It's time to take a break from practical applications of functional programming to something less practical, but very interesting to know 😎
A common requirement is to call various APIs in a sequence, any of which may fail. We see how to implement this requirement in a clean way using monads.
If you have been following this site, you will know that we are currently developing a video course on building robust python applications using pytest to do test driven development. We recently completed a small video demonstrating how to clean up an ugly set of if-else conditionals by refactoring it
In this exercise we are going to solve a variation of the robot kata. This version is called the Lost Robot kata.
After PyCon US 2022, it's time for another big python conference: EuroPython. As before, we are live tweeting threads on the different sessions from the conference. All those tweets are collected on this page. Enjoy!
Monads have a reputation as being a very complicated aspect of functional programming. In this article we demystify them and learn how to apply monads in our code
Here we implement the robot kata in a functional programming style
We just released a video showing how to use PyScript to build a Tic Tac Toe game from scratch in just 10 minutes.