Func.is at VisuFlow 2/12/13
-
Upload
daniel-werthen -
Category
Technology
-
view
395 -
download
0
Transcript of Func.is at VisuFlow 2/12/13
Func.isSimple > Complex
Why is coding sodifficult?
2
Two types of Complexity
3
Types Essential complexity The problem itself System integration Differential usage
Accidental complexity Frameworks, language features Architectural (anti)-patterns Object oriented programming?
4
How do we eliminate
accidental complexity?
Func.is
5
In terms of a framework Remove features untill there is nothing left (to
take away) Abstract and generalize what’s left Make it as simple as possible to use
6
Simple just ain’t
easy!
7
http://www.infoq.com/presentations/Simple-Made-Easy
Rich Hickey
The causal event
-flow
8
Let’s get practical
9
{Where}{What} {Input}
{Output}{When}
Pure functions The same input will always yield the same output It doesn’t cause any side effects Simple to test, simple to reuse!
11
Side effects Conceptually difficult to handle with code Any computer program is irrelevant without
[side] effects. Side effects is an essential complexity
12
So where does it leaves Func.is? Separation between what/when and how Good for building distributed systems The union between functional and flow-based
programming A better way to combine computer programs and
build big systems
13
Live Demo!
14