File tree 4 files changed +5
-2
lines changed
4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ _interface_ through which the object is to be used. The idea is that
35
35
the _interface_ is relatively simple, and all the complex things going
36
36
on _inside_ of the object can be ignored when working with it.
37
37
38
+ image::img/object.jpg[alt="A simple interface can hide a lot of complexity"]
39
+
38
40
As an example, you can imagine an object that provides an interface to
39
41
an area on your screen. It provides a way to draw shapes or text onto
40
42
this area, but hides all the details of how these shapes are converted
Original file line number Diff line number Diff line change @@ -22,8 +22,9 @@ <h1>Eloquent JavaScript<div style="font-size: 70%">second edition</div></h2>
22
22
23
23
< p > Illustrations by various artists: Sea of bits (chapter 1) and
24
24
weresquirrel (chapter 4) by Margarita Martínez and José Menor.
25
- Mysterious computer (introduction) by Philip Tyrer. Octopuses (chapter
26
- 2 and 4) by Jim Tierney. Regular expression diagrams in chapter 9
25
+ Mysterious computer (introduction) by Philip Tyrer. Octopuses
26
+ (chapter 2 and 4) by Jim Tierney. Object with on/off switch (chapter
27
+ 6) by Dyle MacGregor. Regular expression diagrams in chapter 9
27
28
generated with < a href ="http://regexper.com "> regexper.com</ a > by
28
29
Jeff Avallone.</ p >
29
30
You can’t perform that action at this time.
0 commit comments