▲ | librasteve 7 hours ago | |||||||||||||||||||||||||||||||
The Raku language (https://raku.org) nails multiline strings and avoids the triple quotes issues mentioned in the OP.
https://docs.raku.org/syntax/heredocs%20%3Ato | ||||||||||||||||||||||||||||||||
▲ | afiori 6 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||
The best multiline strings are those where you can have proper indentations without having to guess how indentation is handled. bonus points for making nesting easy and making copy-pasting work without breaking indentation. To my knowledge only Zig's multiline strings work this way
| ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | IshKebab 7 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||
That's probably the worst multiline string option if you ask me. Looks like they copied Bash. | ||||||||||||||||||||||||||||||||
|