0% found this document useful (1 vote)
34 views7 pages

Functional Programming With F#

Functional programming is important for several reasons. It produces shorter programs than imperative programming since functional programs do not use assignments. Functional programming also allows functions to act as values that can be passed through other functions, which has extraordinary implications. Additionally, functional programming languages offer unique features borrowed from mathematics like curried functions, powerful type systems, improved performance, and increased correctness. Some examples of functional programming languages other than F# are Lisp, Haskell, Erlang, and Clojure.

Uploaded by

talha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
34 views7 pages

Functional Programming With F#

Functional programming is important for several reasons. It produces shorter programs than imperative programming since functional programs do not use assignments. Functional programming also allows functions to act as values that can be passed through other functions, which has extraordinary implications. Additionally, functional programming languages offer unique features borrowed from mathematics like curried functions, powerful type systems, improved performance, and increased correctness. Some examples of functional programming languages other than F# are Lisp, Haskell, Erlang, and Clojure.

Uploaded by

talha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Functional

Programming with F#
Instructor

Talha Saif
[email protected]
m

Why is Functional Programming


Important?
People think of FPs statelessness as a flaw without
considering its advantages.

To see the importance of FP we must focus on what it


gives rather than what it doesnt.

Functional programs are usually shorter than that of


imperative.

Example#
Imperative Programs = 90%
assignment
Functional Programs = 0% assignment
That makes FP 90 % shorter. Right?

(Contd.)
FP allows functions to act as values
and to pass them through other
functions.

The above feature might not seem all


that important but its implications are
extraordinary.

(Contd.)
No distinction b/w data and functions.
FP languages offer unique features.
(some are borrowed from
Mathematics)

Example#
Offers Curried Functions
Offer Type Systems(much better
pow-weigh ratio)

More Performance
More Correctness

Question of the Day

Name a few FP Lang. other than F#?

You might also like