Skip to content

Commit

Permalink
Write more about HTML + CSS + JS
Browse files Browse the repository at this point in the history
  • Loading branch information
maxi0604 committed Dec 7, 2023
1 parent 850cb1d commit 9443254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ I don't know what you'd be using this for, but if you must: AGPLv3 or later.
- d4: Wrote both parts in **🐫 OCaml**. This took longer than it would if I hadn't also stubbornly decided that today is the day on which I finally grok parser combinators (See above). Wrote a parser combinator and fought with a weird "Why is that of that type" bug and finished part one on the first submission. For part 2, I don't really see the functional solution, so I wrote a `for` loop that mutates an `int array`. I still don't know the difference between `in`, `;` and `;;` precisely but it works. Also finished part 2 on first submission. I definitely want to combine more parsers in the future, maybe I'll try `Parsec` again now. I didn't bother with making it build both binaries today, so you'll have to manually change `d4/dune` to do that.
- d5: Wrote both parts in **#️⃣ C#**. No complaints about the language, considering that it's a spiced up Java and my childhood programming language. Part 1 went over easily. Part 2 took forever because of my aversion to rewriting completely exactly when it would be the right time to do so, as well as imperative programming badness. All in all, got done though.
- d6: Wrote both parts in **➕ C++** while not at home. Bruteforce was way fast enough. Had integer overflow on part 2.
- d7: Had I known about the theme of this day beforehand, I would've reserved OCaml for it. Instead, I decided it would be fun to build a nice little page for it with **🌐 JavaScript, HTML and CSS**. While that probably took more time than actually writing the code, it was a fun experience. Also, I didn't think I'd be the one who falls for the "JavaScript `array.sort` meme" but here we are. You can view it [here](https://maxi0604.github.io/aoc2023/d7).
- d7: Had I known about the theme of this day beforehand, I would've reserved OCaml for it. Instead, I decided it would be fun to build a nice little page for it with **🌐 JavaScript, HTML and CSS**. While that probably took more time than actually writing the code, it was a fun experience. Also, I didn't think I'd be the one who falls for the "JavaScript `array.sort` meme" but here we are. I'd recommend to keep that in mind before you write JS. CSS and HTML were quite fun to write though and did show that some technical parts of the Internet are actually quite well-made. You can view the page [here](https://maxi0604.github.io/aoc2023/d7).

0 comments on commit 9443254

Please sign in to comment.