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

Re4: Aspect-Oriented Programming: Couple of Short Examples

by dragonchild (Archbishop)
on Aug 05, 2003 at 20:46 UTC ( #281159=note: print w/replies, xml ) Need Help??

in reply to Re: Re^2: Aspect-Oriented Programming: Couple of Short Examples
in thread Aspect-Oriented Programming: Couple of Short Examples

Usually, when static vs. dynamic is discussed, it's referring to the typing of the variables. Perl doesn't require that you declare whether you're using a number or a string ahead of time. That's dynamic typing. Static typing is like C or Java, which makes you say "This variable will always be an integer or a float (or whatever)".

It can also refer to the fact that Perl is (somewhat) introspective, like LISP, while C/C++ is not. You can dynamically generate executable code in Perl, because it's interpreted. You cannot do that in C++. (Well, that's not entirely true, but it's close enough for this discussion.)

Hope that helps!

We are the carpenters and bricklayers of the Information Age.

The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

  • Comment on Re4: Aspect-Oriented Programming: Couple of Short Examples

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://281159]
and dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2018-06-23 04:41 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.