Ocaml Adventures Continue: AoC Day 2

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии • 24

  • @harrisonhutton
    @harrisonhutton 2 года назад +4

    I love OCaml. I used it in my Programming Languages course to implement an interpreter for a byte-code language. Knowing that your code is provably correct (because of type theory) just makes for a really flow-y development process.

  • @n0kodoko143
    @n0kodoko143 2 года назад +9

    Great intro! Also, since starting to learn a little rust, ocaml is looking familiar (only to find the original compiler for rust was written in ocaml!)

  • @idemchenko-js
    @idemchenko-js Год назад

    The world should know more about OCaml and proper type systems! Great job TJ!

  • @ruffinhead
    @ruffinhead 2 года назад +6

    Ive been learning F# for advent of code and it looks exactly the same as ocaml... so it feels like we did the same challenge and I can appreciate your answers much more 😂 functional programming is pretty incredible and it was really fun doing these challenges this way.

  • @n0kodoko143
    @n0kodoko143 2 года назад +1

    Sick subliminal with the scissors. Got me!

  • @isAif47
    @isAif47 2 года назад +6

    good intro 😂

  • @JordiMontesSanabria
    @JordiMontesSanabria 2 года назад +5

    I chose scissors but I won, I can't believe this content is free 🎉

  • @machinima1402
    @machinima1402 2 года назад +5

    i actually picked scissors and i still feel like a winner
    EDIT: Can i ask you which plugin you use for the scope highlight (in which everything else grays out)? Thank you very much!

    • @machinima1402
      @machinima1402 2 года назад +3

      @Denis Borsukov what a goddam hero, thank you

  • @bearwolffish
    @bearwolffish Год назад

    damn, got man with the rock shoulda known to go paper.

  • @gary4219
    @gary4219 Год назад

    Damn u won in the rock paper scissors 🤣

  • @JChen7
    @JChen7 Год назад +2

    "I'll see you in Day 3"....

  • @patrickrealdeal
    @patrickrealdeal Год назад

    Is this color scheme available anywhere? Seems perfect for ocaml I'd like to try it :)

  • @tempo_808
    @tempo_808 Год назад

    instalike for this inro

  • @suvasanketrout772
    @suvasanketrout772 2 года назад +1

    Yeah i won !! At 4 try ✌️

  • @driden1987
    @driden1987 2 года назад

    Functional Johnson

  • @guilhermesoares7857
    @guilhermesoares7857 2 года назад

    Chose paper , ez win

  • @ethanfung1413
    @ethanfung1413 2 года назад

    TJ, why did you choose to learn Ocaml over some of the more popular functional programming languages?

  • @jrmoulton
    @jrmoulton 2 года назад

    Paper

  • @saeedxgholami
    @saeedxgholami 2 года назад

    I choose scissors.
    I lost

  • @gmdias0_
    @gmdias0_ 2 года назад

    i have Paper, i won!

  • @doommusic4738
    @doommusic4738 2 года назад

    Its a tie

  • @callmepotato192
    @callmepotato192 Год назад

    you won...

  • @nifaresg
    @nifaresg Год назад

    nice thing is that you need only either get_win or get_lose and composing get_win with get_win will return the result of get_lose