|
|
|
|
|
by boxed
669 days ago
|
|
Close. But wrong. Swift doesn't have raw strings and normal strings. Swift has ONE syntax: {#n}"string {#n}\(interpolation)"{#*n} Where n can be zero or more. So let's recap: 1. ONE rule for start/end/escape prefix: A number of # that has to match.
2. ONE rule for escape: \. I do Python full time and I wouldn't consider switching to Swift, but the string situation is horrible compared to Swift. |
|