= , . . , , , . . .
_, _LocalPath, , , . , . , _, , .
- _, . , . .
I personally very rarely use variables starting with _, and prefer to use only _. I also feel that cluttering up templates with unnecessary things is Bad Thing, so I won’t use aliases for such documentation. I would write:
%% process(LocalPath, Request) -> ... .
process(["world"], _) ->
or perhaps an ad type if you prefer. I believe the code is shorter shorter and clearer.
source
share