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

Mine do this as well, but in PHP. They adopted docblocks over a decade ago and never defined any best practices or used any tools to check them, so comments don't even match the code half of the time. We're on PHP 8 now which can enforce types in the code itself but still have to include docblock types because that's how it has always been done, so the problem persists. It's maddening





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

Search: