Your SlideShare is downloading. ×
0
Leonardo Amarilho
Design Functional
Fail...
Difficult to find material
Design Principles from
Functional Perspective
SOLID Principles
Single-responsablity Principle
A class should have one, and
only one, reason to
The

change.

fundamental unit
of abstract...
Open/closed Principle
You should be able to extend
The

a classes bahavior,

functions can

without modify
be substituted ...
Liskov substituiton Principle
Derived clases must be
Most

substitutable for their

ambitions of the
Liskov substitution a...
Interface Segregation Principle
Make fine grained interfaces
Functions
are segregated
by default definition

that are clie...
Dependency Inversion Principle
Depend on abstractions,
The

not on concretions

side-effect free
nature of FP provide for
...
Conclusion
The principles are absorved by functional
language in a natural way. The OO Patterns
still exists in the functi...
Functional programming is
more a mindset than a
particular set of tools or
language.
“Functional Thinking”
Neal Ford - IBM...
Principles Desing in functional perspective
Principles Desing in functional perspective
Principles Desing in functional perspective
Upcoming SlideShare
Loading in...5
×

Principles Desing in functional perspective

125

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
125
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Principles Desing in functional perspective"

  1. 1. Leonardo Amarilho
  2. 2. Design Functional
  3. 3. Fail...
  4. 4. Difficult to find material
  5. 5. Design Principles from Functional Perspective
  6. 6. SOLID Principles
  7. 7. Single-responsablity Principle A class should have one, and only one, reason to The change. fundamental unit of abstraction is the function
  8. 8. Open/closed Principle You should be able to extend The a classes bahavior, functions can without modify be substituted at will. it Don’t need to thinking about it
  9. 9. Liskov substituiton Principle Derived clases must be Most substitutable for their ambitions of the Liskov substitution are effectively trivial in FP base classes
  10. 10. Interface Segregation Principle Make fine grained interfaces Functions are segregated by default definition that are client specific
  11. 11. Dependency Inversion Principle Depend on abstractions, The not on concretions side-effect free nature of FP provide for dependency inversion
  12. 12. Conclusion The principles are absorved by functional language in a natural way. The OO Patterns still exists in the function paradigm, but the implementation details differ.
  13. 13. Functional programming is more a mindset than a particular set of tools or language. “Functional Thinking” Neal Ford - IBM Developer Work Series
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×