News for hackers. Stuff that matters.
Re:Gleam: a type safe language on the Erlang VM by zem on Wednesday November 08, 2023 @01:01PM (#38194324)
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)`
Re:Gleam: a type safe language on the Erlang VM by troupo on Wednesday November 08, 2023 @02:23PM (#38195576)
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.