Escaping the template pattern hellscape in Python

https://rednafi.com/python/escape_template_pattern/

Originally saw this in a post by the author on Mastodon: https://fosstodon.org/@rednafi/110644868109506095

14 points · 4 comments · view on lemmy.world

4 Comments

SpicaNucifera@lemm.ee · 3 pts · 3y

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.

deceitfulsteve@programming.dev · 2 pts · 3y (1 reply)

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/

jnovinger@programming.dev · 4 pts · 3y

My post's link is to the original blog URL that you point to, I just mentioned the author's Mastodon post where I ran first saw a reference to the blog post.