Re:What Pythonistas Think of Ruby
by steveklabnik on Wednesday February 03, 2010 @01:20PM
(#1098417)
Ah. So, Python uses the Java annotation syntax for decorators? Hm. One more thing I'll have to look into when I get the time.
Actually, I think Java uses Python decoration syntax for annotations, but I have been wrong before.
I'm pretty sure Python picked it up after Java did. But, I don't think it's a case of imitation; it's just that the glyph '@' happened not to have syntactic meaning attached to it and it looks okay.
The @ syntax is for decorators. Different beast altogether.