5 ms·
Most people really like python f-strings. You might be on your own here.
by VagabundoP 2y ago
Most people really like python f-strings.
You might be on your own here.
- boxed 2y agoYou missed half of what I said. Look at Swift. To quote myself: Yea, f-strings are nice. But f-strings, r-strings, \ escaping, {{ escaping, ''' strings? Horrible. Swift strings have ONE string. Just a single clean design that does all of that. With a simple set of rules.
- Smar 2y agoI suppose Swift copied Ruby's strings, then.
- boxed 2y agoLooking at Ruby strings it seems not. They have at least two special syntaxes: escaping and interpolation. They seem to have some weird "<<-" thing to, so that's another special thing. That's at least three things so far. Oh, and %q strings is a thing. Four things. Swift has just 1 string.