Skip to content

Commit

Permalink
Add referential transparency animation to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmog committed Nov 24, 2017
1 parent 5196fb1 commit 3d8e998
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ It's perfectly OK to send lots of messages to objects, one after the other:

As the computer goes through the line, each `object.message` statement is replaced by the value returned from sending that message to that object:

<animation showing referential transparency through chaining>
![An animation demonstrating referential transparency through chaining. Each variable is replaced by the object it references, and each dot is executed in turn](../images/3-referential-transparency.gif)

This 'queueing up of messages' is referred to as **chaining**.

Expand Down
Binary file added images/3-referential-transparency.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3d8e998

Please sign in to comment.