[erlang-questions] Strings as Lists
Masklinn
masklinn@REDACTED
Tue Feb 19 08:26:02 CET 2008
On 19 Feb 2008, at 04:55 , Richard A. O'Keefe wrote:
> - would make life horrible for editors like Emacs
I don't see why, really. Emacs seems to do quite well with Python's 16
string forms or so (single-quoted, double-quoted, triple single-
quoted, triple double-quoted, and any of these can be prefixed by "r"
for rawstrings, "u" for unicode strings, or both) or with Ruby's
HEREDOCS (seems to have issues with PHP's, but ruby-mode shows it can
handle these things)
>
> - would make things very confusing for people
Anything can make "things" very confusing for people, and frankly when
I compare /regexps/ in Ruby or r"rawstrings" in Python (or
@"rawstrings" in C#) to writing \\regular \\\\expressions\\ in \\\
\Java, the formers are *far less* confusing and *infinitely more*
readable than the latter.
Your take on it is interesting/nice though.
More information about the erlang-questions
mailing list