Hacker News new | past | comments | ask | show | jobs | submit login

These are almost exactly my own reasons, except I have #5 - annotations as needed for some php frameworks, and especially for ide intellisense.

E.g. if the ide can't grok what a $var is you can do :

    /** @var Some\Namespace\To\Class $var */
    $var = ...
then when it reindexes things it has no problem tying everything together.



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: