>
> a. In my opinion no application should stop working if it has a comment
> that contain a '$' sign.
>

Weigh the performance loss in implementing comment removal during parsing
against the practical benefit of being able to drop a `$` in your comments.
I don't think it balances in your favor. Again, a clear example of why you'd
need to prevent parsing commentary would help your argument.

b. The code I typed in isn't a real one of course. It was just to give an
> example of my templator-js mixture.
>

What do you think of the overall elegance of JSON? You can pass all sorts of
data and just inject it directly into your inline JS.

c. As far as I know, php parser does not parse comments
>

I highly doubt PHP distinguishes between commented and non-commented code
prior to parsing variables but even if it does, you've got to remember that
it's likely implemented in C and thus will be much more efficient than
templator. I could very well be wrong on this one.

On 8/26/07, Tzury <[EMAIL PROTECTED]> wrote:
>
>
> @b^4+ Angelo, I am afraid I didn't explain my self well enough.
>
> a. In my opinion no application should stop working if it has a
> comment that contain a '$' sign.
> b. The code I typed in isn't a real one of course. It was just to give
> an example of my templator-js mixture.
> c. As far as I know, php parser does not parse comments
>
> [joyful, clean, productive for devel in web_py.get_benefits()]
>
>
> >
>


-- 
Angelo Gladding
[EMAIL PROTECTED]
http://angelogladding.com
(626) 755 - 1417

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to