Posts about Programming

In this category, I group all my posts about programming. I write mostly about Python, but am also curious to explore more general programming topics and venture into other programming languages.

A functional approach to web scraping with Python’s singledispatch decorator - Part I: theory

For a long time, I have associated web scraping projects with a heavy dose of object-oriented programming. Python developers might be familiar with classes of spiders similar to those used in the web scraping framework Scrapy. In this two-part article, I present a way to write code for web scraping in a functional programming style. In this first part, I explain what I mean by that and what kind of advantages I see with that approach.