Re: String Literals, take 1
[email protected] (Jonathan Scott Duff) Sat, 30 Nov 2002 21:50:11 -0600
| Newsgroups | perl.perl6.documentation |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Nov 30, 2002 at 06:51:02PM -0800, Michael Lazzaro wrote: > But the two uses are incompatible: by supporting one goal, we pretty > much trash the other. By supporting the "useful internal" stuff, we are > making it more difficult to use stringification for simple, common text > I/O purposes. By supporting the "pretty" stuff, we are making it more > difficult to print useful debugging messages. I think this is the reason python has both str() and repr(). One is pretty, the other useful. -Scott -- Jonathan Scott Duff [email protected]