15 Jun
2021
15 Jun
'21
4:41 a.m.
Am Mo., 14. Juni 2021 um 01:25 Uhr schrieb Chris Angelico : I'd love to have some sort of generic interpolation construct, but the
use-cases all seem really weak... It depends on your daily work. If you create many small methods returning
small HTML fragments,
then it really helps if you can avoid some extra typing. But maybe it is
not about typing.
Maybe it is about reading. Passing variables via `foo=foo, bar=bar`
contains no value.
This means your eyes need to parse information which has little value. I
would like to
avoid that.
f-strings are great. Unfortunately they do too much.
Regards,
Thomas