Re: decorators again (Guido's @ solution)

Mark Hahn <[email protected]> Sat, 7 Aug 2004 12:35:28 -0700
Newsgroups gmane.comp.lang.prothon.user
Organization Hahn Creative Applications
Message-ID <[email protected]>
Guido has said: "If I could design a language from scratch, I might want to
move docstrings to before the 'def' as well" in the same message he defends
his choice of the at-string syntax:

http://mail.python.org/pipermail/python-dev/2004-August/047112.html

So I think he is thinking of something like this:

@"""'doIt' solves all the world's problems"""
@accepts(Int, (Int,Float))
@returns((Int,Float))
def doIt(a,b):
    blah blah blah

I like this myself.