examples icon indicating copy to clipboard operation
examples copied to clipboard

Advent of Code example

Open Anton-4 opened this issue 1 year ago • 4 comments

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

Anton-4 avatar Nov 02 '24 10:11 Anton-4

Are you sure this is high priority?

Zaydiscool777 avatar Nov 06 '24 00:11 Zaydiscool777

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).

lukewilliamboswell avatar Nov 06 '24 00:11 lukewilliamboswell

:100: Luke said it well :)

Anton-4 avatar Nov 06 '24 09:11 Anton-4

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

Anton-4 avatar Nov 06 '24 09:11 Anton-4