Decorator feature...

Mukhsein Johari <[email protected]>
Newsgroups gmane.comp.lang.prothon.user
Message-ID <[email protected]>
Hello all,

Sorry for picking on things again but I'm just not
convinced defInit and runInit are needed. (Heh, call
me "The Feature Killer" or more simply "Wet Blanket"
:-p) Seriously though, could you supply a more
concrete example of defInit?


As for runInit, it only becomes useful when the
function is called, right? So we can just as easily:

-----------------------
def funcB():
  <do stuff>

funcB.staticVar = 0

funcB()
funcB.staticVar +! 1
-----------------------






________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.