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

Python does this as well.

Personally, I would like to be able to choose the capture method, but having value capture the default. Most of my code simply wants the value, but occasionally, capturing the variable is needed.



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

Search: