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

Advent of Code example #216

Open
Anton-4 opened this issue Nov 2, 2024 · 4 comments
Open

Advent of Code example #216

Anton-4 opened this issue Nov 2, 2024 · 4 comments

Comments

@Anton-4
Copy link
Collaborator

Anton-4 commented Nov 2, 2024

This example should show off a typical advent of code solution and best practices/tips like this one.

@Zaydiscool777
Copy link

Are you sure this is high priority?

@lukewilliamboswell
Copy link
Collaborator

I think the key thing we want to highlight here is that it's ok to use List U8 and converting a Str using Str.toUtf8 for some problems. Having an Advent of Code example would be very helpful to direct people to. It can explain this in a context that is concrete and specific, unblocking people.

There are other Advent of Code examples around if people go looking, but they aren't always kept up to date with the latest language features.

I agree with Anton this is a priority, particularly with AoC coming up and much having changed since last year.

Though this should be a pretty small example I think, mostly just to help people see the key features in one place (like maybe importing/ingesting files etc).

@Anton-4
Copy link
Collaborator Author

Anton-4 commented Nov 6, 2024

💯 Luke said it well :)

@Anton-4
Copy link
Collaborator Author

Anton-4 commented Nov 6, 2024

Making this example will require less time than explaining the same things repeatedly on zulip.

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

No branches or pull requests

3 participants