Re:New string formatting in Python
by sitkack on Sunday January 03, 2016 @10:28PM
(#10833854)
Python provides many ways to 'dig thru' the surrounding namespace. I find it ironic that do so is effortless in the language while at the same time is considered unpythonic. Which is it? Is the language itself unpythonic?
[ Parent
| on HN ]
Re:New string formatting in Python
by mixmastamyk on Sunday January 03, 2016 @11:01PM
(#10833924)
Stack frame digging is discouraged yes, I'm ok with that.
Also, this alternative solution would not allow arbitrary expressions, which was a design goal.