@lapcatsoftware Clean and simple *programs* are a myth, though it is often possible to produce clean and simple *tools*, that make writing real programs easier.
It is also possible, on occasion, to produce powerful libraries with clean interfaces. If they abstract over, or even interact with, the real world, they're going to be complex inside, but that doesn't mean they can't be clean.
Python's urllib.request.HTTPRedirectHandler demonstrates all this quite well.