Functional Programming With C#: Function Composition

preview_player
Показать описание
Let's apply the concept of composing functions together to create new functions that have the combined behaviour of all the original functions.

This concept, function composition, can be applied in C# to give you a library of various functions needed for your application.

Correcting bugs in one of your functions, if being combined with other functions, will propagate those changes to any higher level functions that use it.

If you enjoyed this video, please subscribe, comment and feel free to
visit my blog:

Рекомендации по теме
Комментарии
Автор

WoW, I know I'm a little late 2the party but wanted to say, Thank You for the content. This is absolutely fantastic!!!

krzysztofs
Автор

Hi Practical Dev! In this example are you composing these functions to keep the demonstration of the functional composition simple? (This I understand and appreciate), but in the wild wouldn't you use something like currying each of the functions on your list to achieve the same? Perhaps currying would be a good topic to cover? :) Thanks again for your great videos.

baz_sh
visit shbcf.ru