News for hackers. Stuff that matters.
Re:Cog resurgence by nedbat on Friday January 14, 2022 @10:32PM (#29943288)
Cog works line-by-line, which sidesteps thorny quoting concerns, and makes it applicable to more syntaxes. It lets you use regular Python code instead of "html-ified" code in Jinja (for example).

Certainly if you are happy with Jinja, you should use it.

Re:Cog resurgence by teddyh on Friday January 14, 2022 @10:36PM (#29943305)
Yes, I mean, I can understand how it works technically. But in what situations is something like Cog so beneficial that it offsets using something more well-known like Jinja? Are these situations common?
Re:Cog resurgence by _ZeD_ on Saturday January 15, 2022 @01:25AM (#29944094)
Have you looked at TFA? there are some tweet messages of people using it