Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-09-23 23:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (242 votes), past polls