Re:Coconut: Simple, elegant, Pythonic functional programming
by jimsimmons on Thursday November 04, 2021 @10:40AM
(#29107783)
Completely agree. My point is that having things broken down and built up gradually (aka procedural) is a better approach than one shot declarations.
Mainly what you're showing is that regular expresisons are awkward for matching certain types of syntax. You could have split each of the unique components in your expression into small parts and it would be much more readable.