🎄 Advent of code 2024 in F# - day 01

  Рет қаралды 466

Jo Van Eyck

Jo Van Eyck

Күн бұрын

Warming up our rusty F# skills by zip'ping and comprehensions.
🎺 music by streambeats www.senpai.tv/...
👩‍💻 code available on github github.com/jov...

Пікірлер: 13
@MrJimGiant
@MrJimGiant 10 күн бұрын
Good to see you back here on KZbin. I really enjoy your F# live coding.
@JoVanEyck
@JoVanEyck 10 күн бұрын
Good to have you back! Are you solving the puzzles this year?
@MrJimGiant
@MrJimGiant 10 күн бұрын
​@@JoVanEyckI'm too busy at work, so your videos are my way to follow the event. No pressure ;-)
@JoVanEyck
@JoVanEyck 10 күн бұрын
No pressure 😅
@donarnold8811
@donarnold8811 9 күн бұрын
I had totally forgotten that List.transpose exists and messily coded it by hand. Thank you for the reminder!
@JoVanEyck
@JoVanEyck 9 күн бұрын
Nice! I've seen people use List.unzip, that's another alternative for you!
@Michal_Peterka
@Michal_Peterka 9 күн бұрын
Same here. I used transpose many times but this had only two colums so it did not get to my mind and I was maping it to int * int and then unziping.
@000dr0g
@000dr0g 9 күн бұрын
Thanks for doing these! Unlike previous years, I've forced myself to do the puzzle first, which makes watching your version even more valuable. List.transpose is cool!
@JoVanEyck
@JoVanEyck 8 күн бұрын
That's smart! Please do let me know if you come up with different solutions, I'm always interested in how other people tackle these problems.
@Getrektinpeace
@Getrektinpeace 8 күн бұрын
Loving the videos. Will you be continuing with your Web Api series? im invested!
@JoVanEyck
@JoVanEyck 8 күн бұрын
Thank you! Yes, I'm planning to do that in 2025 once I've recovered from #adventofcode 😂
@Michal_Peterka
@Michal_Peterka 9 күн бұрын
Rider seems nice. I installed it after the licencing change to free for non-commercial use. But I still spend more time in VS Code because I am lazy to set it properly and I am missing some hints provided by Ionide. BTW: do you prefer in part1 List.zip |> List map over just List.map2 because of readability or some other reason?
@JoVanEyck
@JoVanEyck 8 күн бұрын
For me personally rider is a step up from visualstudio, although I did not try F# in vscode all that much. RE map2: Not at all, I simply haven't used map2 enough to have it readily available in my head. Thanks for the tip!
🎄 Advent of code 2024 in F# - day 02
26:50
Jo Van Eyck
Рет қаралды 480
Day 2 | Advent of Code 2024 | Better Time Complexity
15:14
Errichto Algorithms
Рет қаралды 10 М.
[BEFORE vs AFTER] Incredibox Sprunki - Freaky Song
00:15
Horror Skunx 2
Рет қаралды 19 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 17 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 33 МЛН
How to get the most out ADVENT OF CODE
7:33
Andrew Burgess
Рет қаралды 14 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 840 М.
Advent of Code 2024 Go - Day 8: Resonant Collinearity
14:03
Josh Ackland
Рет қаралды 238
Get ready for Advent of Code 2024 in 5 minutes!
4:25
Martin Zikmund
Рет қаралды 4,6 М.
Every programming language explained in 15 minutes | Prime Reacts
43:42
Harder Than It Seems? 5 Minute Timer in C++
20:10
The Cherno
Рет қаралды 222 М.
Advent of Code 2024 | Day 02 "Red-Nosed Reports"
6:51
HyperNeutrino
Рет қаралды 2,9 М.
Advent of Code 2024 Day 1 - Top 20 Finish!
4:55
Neil Thistlethwaite
Рет қаралды 7 М.