2 ms·
I like the three-quote literal syntax in general, and am a bit surprised that C# doesn't have this already. Even Java has had this for awhile now! But I don't
by StevePerkins 5y ago
I like the three-quote literal syntax in general, and am a bit surprised that C# doesn't have this already. Even Java has had this for awhile now!
But I don't like the indented form, where nested triple-quotes are ignored. Whitespace formatting is fine when I'm working with Python, but I really don't want to mix that paradigm when I'm working with curly-brace languages.
- taco_emoji 5y agoNested triple-quotes are not ignored, they will end the string if you used triple to start. If you need to include triples quotes within the string, you start with quadruple.