Re: Heredoc strings
- Posted by DerekParnell (admin) Feb 23, 2009
- 919 views
I think we need to really think this one through. Although this ability is great, I am not sure it's the best way of going about it.
Neither am I, but its the best I've come up with so far.
Tabs and Spaces should both be allowed
TABs are allowed. However, you may not get the effect you were after. Unless one encodes the tabstops into the source code, the parser is never going to know how many spaces your TABs are set to.
and the syntax is a bit cumbersome/weird, however I understand it's purpose.
I'm not sure about the cumbersome part as it seemed easy to do when I played with it, but the weird part might be a good thing as it certainly alerts the reader that something special is happening here.
Are their any other implementation ideas on this subject?
I hope so.