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

The contrived example used in the first half of the post is offputting. Why would you have a function of 1 argument that only accepts a string with a specific value? There's no point taking an argument then - it might as well be a constant inside the function.


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

Search: