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

an unused parameter should probably be removed.

It doesn't have to be completely unused to be avoided. In a case like:

if a then b + c else c + d

a and c are always evaluated, only b or d is evaluated not both. Removal isn't an option because b and d maybe used.



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

Search: