Re:Google Java Annotations Gallery
by alsocasey on Monday May 27, 2013 @01:16PM
(#5775483)
Shouldn't this be @simile?
[ Parent
| on HN ]
I think it's valid since Life, in this case, extends Box of Chocolates and therefore "is a" Box of Chocolates. If Life had implemented the same interfaces or extended the same parent class as Box of Chocolates, then it would be a @simile as Life, in that case, would be "like a" Box of Chocolates.
The use of metaphor here is correct.
"SIMILE: a figure of speech comparing two unlike things that is often introduced by like or as (as in cheeks like roses).
“She's as fierce as a tiger” is a simile, but “She's a tiger when she's angry” is a metaphor."
"Life is like a box of chocolates"