Suggestions to triple quoted strings proposal

Brendan Eich brendan at mozilla.org
Wed Dec 13 09:36:08 PST 2006


On Dec 13, 2006, at 2:35 AM, zwetan wrote:

> OR
>
> Keep the TQS as simple as possible,
> no special string rules to remember, all is verbatim

Sold! ;-)

> but add a "prettyPrinting" method to the String class
> in order to strip spaces/whitespaces at the start of lines AND
> replacing the line separator at end of lines
>
> as the String class is final, to have such method native
> would be inho more efficient

Please comment on http://developer.mozilla.org/es4/proposals/ 
string.html -- it is a late breaking and small "leaf" proposal (just  
standard library we don't want everyone to have to re-implement and  
deploy ad nauseum), and it is not done yet.

/be




More information about the Es4-discuss mailing list