Guido van Rossum wrote: >[Walter Doerwald] > > >>For me '@' looks like something that the compiler shouldn't see. >> >> > >I don't understand. Why? Is that what @ means in other languages? >Not in JDK 1.5 -- the compiler definitely sees it. > > Gack! @ is ugly as sin to me. Why not allow function attributes as keyword arguments using the decorator syntax. e.g., def foo(self, a) [classmethod, precondition=predicate1, postcondition=predicate2, bnf= 'FOO := left op right']: pass Thoughts? -Kevin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4