What are the primary differences between LISP and C# with regards to functional programming? In specific, if a LISP programmer was to switch to using C#, what are the features they are most likely to miss?
What are the primary differences between LISP and C# with regards to functional programming?
Share
Doing functional programming in C# is technically possible (well, any language that has function pointers or delegates equivalent can be ‘functional’) — but C# gets very very painful if you try to do much.
Off the top of my head, in no particular order:
Edit: One more:
Function composition
C# should emit tail.call too. Not needed, the JIT will add tail calls itself as appropriate.
Items in bold have been addressed since this answer was written.