Тёмный

Functional programming in C# 

Train To Code
Подписаться 4,6 тыс.
Просмотров 3,8 тыс.
50% 1

Even though C# is traditionally an object-oriented language, I'll show you how to leverage the new syntax features to incorporate functional programming techniques. Explore how you can implement functional programming in C#. Discover the key concepts behind functional programming, such as pure functions, immutability, and function composition. Learn how to write code that is more predictable, testable, and easier to maintain.
#functionalprogramming #csharp #dotnet
📖 Get my book - Developing on AWS with C#
www.oreilly.com/library/view/...
🔗 More guides & articles
traintocode.com
💻 Github
github.com/traintocode
🗣️ Social Media
- / jamesjcharlesworth
- / jcharlesworthuk
00:00 Introduction
01:37 Pure Functions
03:23 Immutability
06:24 Function Composition
07:40 Conclusion

Наука

Опубликовано:

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@abmarnie9
@abmarnie9 10 месяцев назад
Very good video. One thing i would have liked to see is more info about immutability at the field and parameter input level (readonly, const, immutable /read-only collections, etc).
@traintocode
@traintocode 10 месяцев назад
Great suggestion!
@StephenBeale
@StephenBeale Месяц назад
nice one, thanks
@llFike
@llFike Месяц назад
Didn't know you could have top level functions in C#! gonna be honest, my distaste for C# is slowing wearing off
@traintocode
@traintocode Месяц назад
Hahaha as it should...
@artsytechie2053
@artsytechie2053 2 месяца назад
could you do a brief overview of Clojure please x
@MiningForPies
@MiningForPies 11 месяцев назад
The only issue I have is the name of the composed method. It incorrectly describes what the function does.
@traintocode
@traintocode 11 месяцев назад
You are probably right I could have picked a better name. Naming things is the second hardest part of software engineering
@csabraxas
@csabraxas Месяц назад
@@traintocode Whats the hardest part?
@redmundperrz7234
@redmundperrz7234 3 месяца назад
I have feeling that the keyword ‘static’ will be omitted in the future release
@traintocode
@traintocode 3 месяца назад
Why do you think that?
@redmundperrz7234
@redmundperrz7234 3 месяца назад
@@traintocode most of the function comes with static keywords and redundant future release will come static by default and no need to put unless you will change to non-static
Далее
Use C# to make a Chrome Extension
6:07
Просмотров 4 тыс.
C# Records are Functional - Try Them Out That Way!
13:13
skibidi toilet zombie universe 33 ( New Virus)
02:59
Просмотров 2,2 млн
Dear Functional Bros
16:50
Просмотров 470 тыс.
5 Hidden Features of C#
8:58
Просмотров 981
The purest coding style, where bugs are near impossible
10:25
Functional Programming In C#: Refactoring Tip
9:18
Просмотров 14 тыс.
Object Oriented Programming vs Functional Programming
18:55
Самый СТРАННЫЙ смартфон!
0:57
Просмотров 35 тыс.