Re:Python f-strings are the best syntax sugar i never knew a...
by dozzie on Tuesday January 23, 2018 @04:02PM
(#16217654)
Ah yes, the thing we had in shell, Perl, and Ruby since forever, and that was
never a very good idea.
[ Parent
| on HN ]
Re:Python f-strings are the best syntax sugar i never knew a...
by odonnellryan on Wednesday January 24, 2018 @12:25PM
(#16224421)
Why wasn't it a good idea in these languages?
Re:Python f-strings are the best syntax sugar i never knew a...
by dozzie on Wednesday January 24, 2018 @05:56PM
(#16227132)
Because it's often hard to edit (which includes quoting or decoding where
computation or variable starts) and because it mixes formatting and presenting
data with computation.