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

An unused parameter should be commented out.




Unless it’s there to conform to an interface

Especially if it's there to conform to an interface. You can comment out the variable name and leave the type.



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

Search: