Y
Hacker News
new
|
ask
|
show
|
jobs
by
steveklabnik
5974 days ago
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.
1 comments
rbanffy
5974 days ago
Actually, I think Java uses Python decoration syntax for annotations, but I have been wrong before.
link
pmiller2
5973 days ago
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.
link