Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pbiggar
· 9y ago · 0 comments
I wonder if there's a way to make all strings be format strings?
Comments
[–]
majewsky
9y ago
It would break
a lot
of existing code.
[–]
pbiggar
OP
9y ago
Not by default. Just for me. Like "from format import default_strings" or something.
[–]
_quick_q
9y ago
Why would you want that?
[–]
pbiggar
OP
9y ago
I like strings to be interpolated by default, and that's one of the most annoying things about python.
[–]
_quick_q
9y ago
Sure, but _why_? What benefits do you see that having over this? (Pre-pending an 'f' to a string)
[–]
pbiggar
OP
9y ago
Isn't "I like it" a good enough reason?