Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're going to have different syntax for annotations and actual comments, why not choose a syntax that's properly different and not just a weird mutation?


Because they want something that is still valid PHP.


But why? Do I misunderstand that these annotations change the meaning of the code? Why would you want something that's still valid PHP without them, but means something else?




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: