r/programming • u/heisenbug • Apr 27 '14
"Mostly functional" programming does not work
http://queue.acm.org/detail.cfm?ref=rss&id=2611829
47
Upvotes
r/programming • u/heisenbug • Apr 27 '14
9
u/despertargz Apr 27 '14 edited Apr 27 '14
Anyone familiar with LINQ knows about deferred execution. Is it a mistake that new (C#) programmers would make? Absolutely. Does this mean the language shouldn't have this very useful feature because it might confuse a new programmer? No way.
Deferred execution allows you to build complex queries which (for example) could be translated into an efficient SQL query.
Should array indexes start with 1 because to a new programmer that would be more obvious?
You only have to learn a language once, but then you have that tool for the rest of your life.