On Tue, Aug 18, 2009 at 3:47 AM, David Green<david.gr...@telus.net> wrote:
> On 2009-Aug-17, at 12:27 pm, Moritz Lenz wrote:
>>
>> However it seems we have to pay a price: each act of rendering a Pod
>> file actually means executing the program that's being documented (at
>> least the BEGIN blocks and other stuff that happens at compile time),
>> with all the security risks implied. So we'll need a *very* good
>> sandbox. Is that worth it?
>
> Yes.

Why is it worth it?

In general, executable documentation is a bad thing. It's been shown
to be a bad thing many times over.

If we absolutely must have some sort of executable documentation, then
if I could, I would insist that it wouldn't be a feature complete
language. That is: absolutely no IO in the language, no way of
executing code that's foreign to the doc, and so on.
-- 
Jan

Reply via email to