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

Replace GlobalEvents with a Tyrian-like Msg system #614

Open
davesmith00000 opened this issue Oct 28, 2023 · 0 comments
Open

Replace GlobalEvents with a Tyrian-like Msg system #614

davesmith00000 opened this issue Oct 28, 2023 · 0 comments

Comments

@davesmith00000
Copy link
Member

One of the parts of Indigo that I've always disliked, but that I put in long before I know what I was doing, is Indigo's GlobalEvent trait.

The advantage of using this OO-style event system is that it's easy, the drawback is that it's error prone.

The Tyrian/Elm approach of asking the user to defined there event/message type and forcing them to explain how system events become part of that is much better, and would also allow us to remove some uniquely Indigo things, like event filters.

The issue is that this has wider reaching implications at this point. Still, I think it's worth a go.

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

1 participant