News for hackers. Stuff that matters.
Re:New string formatting in Python by eru on Tuesday January 05, 2016 @01:08AM (#10841563)
OK. How is that different from using functions? Conceptually, there's a function that does arbitrary computation under the hood.

(I think we are already agreeing, only that you express your point differently in Python specific terms. I don't care whether you stuff your code into a context object or something else. I was talking about having the full power of the programming language available, vs using a limited language like format strings.)

Re:New string formatting in Python by cbsmith on Wednesday January 06, 2016 @11:41AM (#10851485)
The important part is you have one more level of indirection before you figure out the layout of the message.