Most programmers learning F# will be coming from a background of object-oriented programming languages like C++, Java and C#. For those readers, it is vitally important to forget about object-oriented programming when learning the F# programming language, even though it exposes the OO features of the .NET platform.
F# is fundamentally a functional programming language and the use of functions instead of objects often leads to shorter and clearer code. Indeed, many of the benefits of functional programming are already known to OO programmers in the form of "design patterns".
This article will elucidate the essential properties of functional programming...
To read the rest of this article subscribe to The F#.NET Journal now!
Memory management myths: promptness - People often assert that scope-based reference counting such as shared_ptrin C++ collects garbage “promptly” and some people define this as “collects at the...
1 month ago