Re: names for init block keywords?

"Mark Hahn" <[email protected]>
Newsgroups gmane.comp.lang.prothon.user
Message-ID <[email protected]>
I'm leaning towards using "once" and "after".  I think they are very clear
and intuitive.

def func():
      """function to solve all the world's problems"""
      after:
            func = turbocharge(func)
      once:
            func.staticVar = 0
      func.staticVar += 1

If no one objects I'll change this proposal and all examples in all
proposals to use these keywords.

By the way, I find myself using both of these constantly now in my coding.
I don't know how I ever lived without them.
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.