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

I certainly wasn't arguing it was a perfect substitute for default args, just that it was easier to manage than the example you gave.

The application I'm currently working on is mostly a direct port of Python code to Go. Python code I originally wrote. You needn't tell me it fails to accomplish all the things Python's default args do.



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

Search: