training —— Applying Functional(函数式编程) Principles in C# 6 (overview)
Applying Functional Principles in C# 6 | Pluralsight
c# 函数编程 特性
linq & lambdas & delegates
函数编程:is mathematical function (!= class method)
one value transforms to another value
method signature honesty
why 函数编程?
1. 降低 复杂度 =》开发速度;bug数量;需求响应速度
how?
1. signature honesty
2. referential transparency
优点:
1. method 隔离 =》method 组合
2. signature =》what will happen after call it =》容易 理解
3. 容易 UT =》check input & output =》黑盒测试,而非 白盒测试
总结:
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· DeepSeek R1 简明指南:架构、训练、本地部署及硬件要求
· 没有源码,如何修改代码逻辑?
· NetPad:一个.NET开源、跨平台的C#编辑器
· 面试官:你是如何进行SQL调优的?
2021-05-21 criteo ads api
2020-05-21 鳥哥的 Linux 私房菜——第五章、Linux 的檔案權限與目錄配置
2020-05-21 单元测试 _ Unit testing best practices with .NET Core and .NET Standard
2020-05-21 单元测试 _ Unit testing C# in .NET Core using dotnet test and xUnit
2020-05-21 单元测试 _ Why Should You Use xUnit? A Unit Testing Framework For .Net
2020-05-21 XUnit _ Using XUnit [Theory] and [InlineData] to Test C# Extension Methods
2020-05-21 单元测试 _ xUnit Theory: Working With InlineData, MemberData, ClassData