Hacker News new | past | comments | ask | show | jobs | submit login

the idea is that within the function body you would rather refer to the variables as e.g. `for s in string.match(pattern)` than `for s in in.match(each)`



Then call them that.

`replace(string, pattern)` is just as (if not more) readable as `replace(in, each)`.

I was specifically replying to the claim about readability.




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

Search: