Hacker News new | past | comments | ask | show | jobs | submit login

If every language can be functional, than no languages are functional.

Would you agree that C# is not functional?

If you agree that C# is not functional, than F# is also not functional. Nearly every construct that can be expressed in F# can be expressed in C#.




No, C# has plenty of features making functional programming possible, so it is definitely on the spectrum of FP languages.

Let’s go at it from the other direction - is Haskell functional? Because it has unsafe pointer access and unsafe IO, so it can pretty much express every C# program as well, right?




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: