Support unicode string delimiters such as « » #17666
bblfish
started this conversation in
Feature Requests
Replies: 3 comments
-
is there precedent for this in other languages? |
Beta Was this translation helpful? Give feedback.
0 replies
-
UML uses guillemets for stereotypes. |
Beta Was this translation helpful? Give feedback.
0 replies
-
There is a classic thread on this topic that may date to the old mailing lists. I remember having such hopes for guillemets. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The string delimiters such as """ ... """ get very confusing as soon as one has to use " in the text. For example for Signing HTTP messages one often has to produce strings like
In Scala this must be written as a sequence starting with 4 quotes.
I think everyone will agree that that is not very readable for scala
developers, and even less when showing code snippets on github
repository when filing bugs against specs.
Much more readable would be
The idea would not be to remove the triple quotes which have the advantage of
not requiring unicode input, but of adding the unicode ones for situations where
readability is important.
There are a number of other unicode quotation symbols that could be used, and I
don't want to make a decision on which of them is best, or if they should all be used, or if they should be used with different properties. But something would be better than """
Beta Was this translation helpful? Give feedback.
All reactions