otp icon indicating copy to clipboard operation
otp copied to clipboard

Swap arguments in actor's loop function.

Open hayleigh-dot-dev opened this issue 1 year ago • 1 comments

In Gleam the convention is for the "subject" or data being manipulated to be the first argument of a function. For actors, this convention is violated and we have the message as the first argument.

Getting this right for the sake of consistency / knowledge transfer would be a win!

hayleigh-dot-dev avatar Dec 05 '24 22:12 hayleigh-dot-dev

I think this would be a good thing to sneak in with the upcoming API changes

lpil avatar Dec 05 '24 23:12 lpil