Anyone plans to do Advent of Code in Rescript?

https://adventofcode.com/

1 Like

I actually started doing this last year. when I first found out about Advent of Code. But I started back with the 2015 challenges–so it will be a while before I get to the current stuff :smiley:

It’s been a great way to get a better understanding of ReScript–especially when you start thinking of how much easier it would be to not do some things using ReScript. Initially it was frustrating but then I thought about how a lot of JavaScript’s “flexibility” has also been the source of pain in projects.

1 Like

Yep! I think it would be a good way to acknowledge oneself with the standard library too.
I’m past the getting started guide, but uh how do I flatten an array??

1 Like

Assuming that wasn’t a rhetorical question: Belt.Array.concatMany

Going to use AoC 2021 to figure out whether I like ReScript enough.

I am using ReScript for AdventOfCode 2021.

5 Likes

I’m doing it too! https://github.com/yangdanny97/advent-of-code

1 Like

Thought I share mine too: https://github.com/formsandlines/aoc2021-rescript

Since this is my first-ever AoC, I appreciate the opportunity to learn from different approaches and get better at ReScript (or FP in general).

It’s this time of the year again https://adventofcode.com/ :blush:

8 Likes

Anyone doing it this year? https://adventofcode.com/

I’m a little late to the party but think I can still catch up…

2 Likes