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
@MrJimGiant10 күн бұрын
Good to see you back here on KZbin. I really enjoy your F# live coding.
@JoVanEyck10 күн бұрын
Good to have you back! Are you solving the puzzles this year?
@MrJimGiant10 күн бұрын
@@JoVanEyckI'm too busy at work, so your videos are my way to follow the event. No pressure ;-)
@JoVanEyck10 күн бұрын
No pressure 😅
@donarnold88119 күн бұрын
I had totally forgotten that List.transpose exists and messily coded it by hand. Thank you for the reminder!
@JoVanEyck9 күн бұрын
Nice! I've seen people use List.unzip, that's another alternative for you!
@Michal_Peterka9 күн бұрын
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.
@000dr0g9 күн бұрын
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!
@JoVanEyck8 күн бұрын
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.
@Getrektinpeace8 күн бұрын
Loving the videos. Will you be continuing with your Web Api series? im invested!
@JoVanEyck8 күн бұрын
Thank you! Yes, I'm planning to do that in 2025 once I've recovered from #adventofcode 😂
@Michal_Peterka9 күн бұрын
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?
@JoVanEyck8 күн бұрын
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!