Monday, June 02, 2008

Multiple spaces in strings

Rarely in code does one write a literal string with consecutive spaces; if so, one probably ought to be using some sort of formatting directive.

It suggests that strings may be encoded as a series of regular tokens, which may be pretty printed or automatically formatted.

No comments :