On 2013-09-19, at 22:36 , Kevin Ballard wrote: > > I welcome any comments, criticisms, or suggestions.
* C# also has rawstrings, which were not looked at. C#'s rawstrings disable escaping entirely but add a new one: doubling quotes will insert a single quote in the resulting string (similar to quote-escaping in SQL or Smalltalk). * The docstring comment is incorrect, a docstring is a string in the first position of a module, a class statement or a function statement. A single-quoted string at these positions will yield a docstring. The triple-quoting is a string syntax embedding newlines (single-quoted strings can not contain literal newlines in Python, only escaped ones). Obviously, triple-quoted python string can be raw. * The quote-escaping oddness is less of an issue in Python as you can also use single-quotes for delimiting, or use triple-quoted strings (if you need to embed both single and double quotes in rawstrings). * Perl's quotes and quote-like operators would certainly deserve mention. Also, > windows file paths windows paths can also use forward slashes so that's not a very interesting justification. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
