Hacker News new | past | comments | ask | show | jobs | submit login
On Hiding our Underwear with Annotations in the Recess Framework (recessframework.org)
2 points by KrisJordan on Dec 26, 2008 | hide | past | favorite | 1 comment



Annotations are one of the more ridiculous language syntax styles to emerge. The Java version is particularly ugly. Scala's version is weird too. In general they are mixing a different language syntax in for attributes of methods (or even more ridiculously, classes). I suppose that adding attributes to methods was a missing feature, but I see no reason not to solve it by mixing another syntax into a language. The addition of the <i>throws</i> clause to a method definition is a good example of adding metadata without adding another language into the language.

The article has a nice description of changes to PHP binding in 5.3...




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: