Functional programming with F# is much more than writing good code. It is about enjoying writing code quickly and effectively.
by Adam Granicz
August 6, 2008
his series of articles addresses functional programming, the main concepts and differences compared to other paradigms, and how F# helps you get up to speed and produce results. This article quickly lays the groundwork and then guides you on translating and/or interfacing with your existing code.
There is a great story about a man who came to the king's palace and claimed that he could answer any question. When
no one could really challenge him the king pointed to a tree far away and asked how many leaves it had. The man took
almost no time before he answered some exact and rather large number. How could anyone check that the man actually
gave the right number? Well, the king and his advisors being smart fellows silently ordered a servant to run to the
tree and take off 20 leaves, and upon his return asked the man once again to count the leaves. Just as before, he was
quick to give another large number that was exactly 20 less than the first—after which no one doubted him anymore.
It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com. Already a member?
To become a member of DevX.com create your Member Profile by completing the form below. Membership is free!