Advent of Code Day 7 AOC OCaml

Ғылым және технология

LIVE ON TWITCH: / theprimeagen
Get in on Discord: / discord
Get in on Twitter: / theprimeagen
Got Something For Me to Read or Watch??:
/ theprimeagenreact

Пікірлер: 23

  • @user-gh7xs1rj9s
    @user-gh7xs1rj9s7 ай бұрын

    There was an issue with the one pair pattern, it should be (_, 2) and not (_, 1). Someone said it in the chat.

  • @sinasalahshour
    @sinasalahshour3 ай бұрын

    2:38 camel cards is basically type safe poker.

  • @hil449
    @hil4497 ай бұрын

    no more advent of code?

  • @jackinjulius
    @jackinjulius6 ай бұрын

    Are you using Kinesis Advantage 2 or 360, in the video, Also which switches they sound amazing ?

  • @Yupppi
    @Yupppi7 ай бұрын

    You know pattern matching is strong when even C++ has it in the standard library already.

  • @ZephyrRz
    @ZephyrRz7 ай бұрын

    For reading input I like to use Seq.of_dispenser to pipe through parsing into a list or an array: (to avoid using exceptions / loops / a dedicated function) "let input = In_channel.(with_open_bin "01.txt" (fun ic -> Seq.of_dispenser (fun () -> input_line ic) |> Seq.map (parsing_function) |> List.of_seq) in"

  • @kozmicluis2552

    @kozmicluis2552

    7 ай бұрын

    My helper gets fed the __FILE__ special variable which is set at compile time and returns the filename (with extension and directory prefix) and then reads the lines of said file (after converting it to the corresponding .txt filename and the with or without the -sample suffix) with Jane Street's Core library: Core.In_channel.read_lines. I really want to get into a parsing library and ditch regexp but it's so over my head right now, I want to learn angstrom so bad.

  • @kajuken
    @kajuken7 ай бұрын

    This was great

  • @DanLoaiza
    @DanLoaiza7 ай бұрын

    What is this copilot thing in Vim?

  • @mementomori8856
    @mementomori88567 ай бұрын

    my favorite problem so far

  • @claudiusraphael9423
    @claudiusraphael94237 ай бұрын

    1:00 in and FULL MOBBING IN PROGRESS. Thats how we like ouah Loawd!

  • @marioamatucci
    @marioamatucci7 ай бұрын

    write test first ... then refactor the code

  • @quintit
    @quintit7 ай бұрын

    whos the other guy? this was hilarious lol

  • @adrianvinicius1257

    @adrianvinicius1257

    7 ай бұрын

    tj devries aka teej

  • @quintit

    @quintit

    7 ай бұрын

    thx@@adrianvinicius1257

  • @equinox4467

    @equinox4467

    7 ай бұрын

    That's the Primeagen

  • @dark_ruby9228
    @dark_ruby92287 ай бұрын

    The guy on the left is soo bad

  • @ryoriotwow
    @ryoriotwow7 ай бұрын

    Guess it's full stop here. Skill issue?

  • @artifishul
    @artifishul7 ай бұрын

    I just can't get behind using a language invented by the French 🤮

  • @quintit

    @quintit

    7 ай бұрын

    fr🤮nce

  • @digitalspecter

    @digitalspecter

    7 ай бұрын

    Very sensible reactions like this is probably why software engineering as a field is advancing so slowly...

  • @hil449

    @hil449

    7 ай бұрын

    Lol half of modern math that makes everything move today was done by the french. Fourier and his transforms, Laplace, Lagrange, descartes, galois..

  • @olbluelips

    @olbluelips

    5 ай бұрын

    @@hil449Fourier and his transforms… Laplace and his transforms… Poisson and his transforms… Legendre and his transforms… Laguerre and his transforms…

Келесі