←back to thread

620 points tambourine_man | 1 comments | | HN request time: 0s | source
Show context
runekaagaard ◴[] No.43749575[source]
It feels a bit like "cheating" that new x-string features are built-in only. It would be cool to be able to do:

    from foo import bar
    bar"zoop"
replies(7): >>43749594 #>>43749601 #>>43749709 #>>43750748 #>>43751130 #>>43752217 #>>43757083 #
1. dec0dedab0de ◴[] No.43752217[source]
meh, the difference between bar"zoop" and bar("zoop") isn't really big enough to be worth it.

I like F strings a lot, but for the most part I think all of the various X-strings should just be classes that take a string as an argument.