Originally saw this in a post by the author on Mastodon: https://fosstodon.org/@rednafi/110644868109506095
The link is to a person’s Mastodon post advertising their own blog post. Here’s a direct link to that blog post: https://rednafi.com/python/escape_template_pattern/
Huh… now I have an excuse for why I hate the little custom “library” my coworker put together and tried to get me to use.
But skimming this tells me I’ve got a lot to learn, yet. A lot of it was hard to understand and is going to take some careful re-reading… I think the level of coding I’ve done so far just doesn’t necessitate custom classes, and I don’t particularly like them unless it’s from an established library.