▲ | masklinn 8 days ago | |||||||
> printf-style formatting ("foo %s" % "bar") feels the most ready to be retired (except insofar as it probably never will, because it's a nice shortcut). It’s also the only one which is anything near safe for being user provided. | ||||||||
▲ | pansa2 8 days ago | parent | next [-] | |||||||
I don’t think I’ve ever used % formatting in Python - what makes it safer than `format`? | ||||||||
| ||||||||
▲ | rtpg 7 days ago | parent | prev [-] | |||||||
Very good point. While I think we could do away with the syntactic shorthand, definitely would want to keep some function/method around with the capabilities. |