DEV Community

Discussion on: .NET Looks at Functional Programming Techniques.

 
jwp profile image
John Peters

Weak Typing does suck except for disciplined OOP folks who know when to use it to their advantage.

Ya I love extension methods too, they are the only real functional style (apart from the Func) in C#. No fancy interface or class defs needed there, as they automatically telegraph the interface, and there's no way to get by it.

Functional programming using extension methods is my angle. That's all.

Thread Thread
 
saint4eva profile image
saint4eva • Edited

Lambda,
Linq,
Extension Method,
Anonymous Method,
Delegates,
Switch Expression,
Local Method,
Pattern Matching,
Higher Order Function etc.
C# has both functional and OOP capabilities.

Thread Thread
 
jwp profile image
John Peters

You're right...