Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^2: Perl Will Stay a Dynamic Language

by cees (Curate)
on May 01, 2006 at 23:41 UTC ( #546791=note: print w/replies, xml ) Need Help??

in reply to Re: Perl Will Stay a Dynamic Language
in thread Syntax checking without BEGIN blocks

Wait! The language can't be safely syntax checked, and thus can't be safely debugged, either, right? (Any hostile code won't be intercepted until after the initial syntax check, by which time it's too late.)

Can you explain to me how a syntax check can detect hostile code? Your whole premise seems to depend on this and I can't see how it relates...

If the syntax check fails, then I would assume that the code will not execute (you will get a compiler error)! And if the syntax check passes, all that tells you is that the program will execute without a compiler error. Nowhere would it say 'Syntax check failed because of hostile code'. So what does a syntax checker gain you here in added safety?

I'm just a little confused about what you are actually trying to accomplish here...

ps I did read all the posts in the thread, but I may have missed something. Appologies if I did...

  • Comment on Re^2: Perl Will Stay a Dynamic Language

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://546791]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2021-01-28 06:41 GMT
Find Nodes?
    Voting Booth?