Giter Site home page Giter Site logo

aoc's Introduction

advent of code 2021

solving https://adventofcode.com/ challenges, mostly in (bad, nooby) OCaml

won't be able to stick do the 1-per-day schedule so a reasonable target is to finish AOC 2021 by end-Jan 2022

will solve mostly when I'm bored of other work

solution mood meter

in an effort to resist the urge of constantly improving and cleaning up my solutions (because i don't have the time to spare), i am enforcing a strict git push-and-never-touch-the-file-again rule the instant my code produces correct output

as a coping mechanism i will instead list how each solution makes me feel

sol comments
ocaml_01 (A+B) ok, aoc seems fun
ocaml_02 (A+B) good, i'm happy that i'm starting to write tail-recursive functions by default
ocaml_03A i tried to do imperative style but this is truly horrific, should've done aoc with haskell
ocaml_03B back to normal FP style, prolly didn't need to do the custom types tho, but happier
ocaml_04A first time using OCaml where I was truly hardstuck on a logic bug (which is a good thing and credit to FP), so I kept the debug code to remind myself
ocaml_04B pretty good, had to catch bug which i denoted in comment but did it quicker than i expected in hindsight

aoc's People

Contributors

kokrui avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.