Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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]
[LanX]: Eily: do you live in an English speaking country?
[LanX]: I think foreigners tend to simplify their phrases, whereby often native speakers don't know how to adapt
[Eily]: nope, France
[LanX]: That's pretty true for every language
[LanX]: so don't worry, anyway most spoken language in the world is broken English
LanX (especially in the streets of Singapore)
[Eily]: yes I know, native English speakers are actually a minority among English speakers :)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-03-27 16:24 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.