Re: Heredoc strings

new topic     » goto parent     » topic index » view thread      » older message » newer message
jeremy said...

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.

jeremy said...

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.

jeremy said...

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.

jeremy said...

Are their any other implementation ideas on this subject?

I hope so.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu