Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap arguments in actor's loop function. #91

Open
hayleigh-dot-dev opened this issue Dec 5, 2024 · 1 comment
Open

Swap arguments in actor's loop function. #91

hayleigh-dot-dev opened this issue Dec 5, 2024 · 1 comment

Comments

@hayleigh-dot-dev
Copy link
Member

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!

@lpil
Copy link
Member

lpil commented Dec 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants