filmov
tv
Rust object-oriented to functional paradigm by example

Показать описание
During day 17 of advent of code, I used OOP idea, which (in this instance) I would consider a mess up.
This video goes through me fixing that, by moving to functional paradigm, which removed underlying dependency between modules.
In this video I used JetBrains Fleet, just for fun.
Code available here:
If you want to learn more about Fleet:
And as always: we can do better as a pack 🐺
Chapters
00:00 - Intro
00:29 - What needs to change
01:45 - Main change
03:18 - Test changes
04:06 - Adjust usage
07:45 - Summary
08:29 - Bye
This video goes through me fixing that, by moving to functional paradigm, which removed underlying dependency between modules.
In this video I used JetBrains Fleet, just for fun.
Code available here:
If you want to learn more about Fleet:
And as always: we can do better as a pack 🐺
Chapters
00:00 - Intro
00:29 - What needs to change
01:45 - Main change
03:18 - Test changes
04:06 - Adjust usage
07:45 - Summary
08:29 - Bye