home *** CD-ROM | disk | FTP | other *** search
Unknown | 1993-06-20 | 22.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Wanton Packer Module (music/wantonPacker)
| ext
| Supported |
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 04 00 59 26 04 00 2e 2a |........|..Y&...*|
|00000010| 04 00 2e 44 04 00 2e 46 | 04 00 02 0c 00 05 48 1c |...D...F|......H.|
|00000020| 00 05 48 18 00 05 48 14 | 00 05 48 24 00 05 48 20 |..H...H.|..H$..H |
|00000030| 00 00 00 00 00 00 00 00 | 00 06 00 00 00 00 00 00 |........|........|
|00000040| 09 00 00 00 00 00 00 00 | ff 00 00 00 00 00 15 12 |........|........|
|00000050| 00 00 17 e7 02 64 00 00 | 00 00 00 2b 00 00 00 00 |.....d..|...+....|
|00000060| 00 00 00 00 00 2b 00 00 | 00 00 ff 00 00 00 00 00 |.....+..|........|
|00000070| 00 00 00 00 00 00 01 01 | 02 64 00 00 00 48 00 48 |........|.d...H.H|
|00000080| 00 01 00 18 03 18 02 64 | 00 00 00 00 02 da 02 2f |.......d|......./|
|00000090| 00 64 00 04 00 00 04 00 | 56 59 00 77 17 2c 01 ba |.d......|VY.w.,..|
|000000a0| 00 13 04 00 56 59 00 77 | 17 2c 01 ba 00 13 fc 71 |....VY.w|.,.....q|
|000000b0| 00 00 1a 55 00 00 00 00 | ff 00 00 00 00 00 00 00 |...U....|........|
|000000c0| 59 d0 00 00 59 d0 00 00 | 59 d0 00 00 a7 d5 00 00 |Y...Y...|Y.......|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 04 00 55 af | 04 00 2e 2a 04 00 2e 44 |......U.|...*...D|
|00000110| 04 00 2e 46 04 00 02 0c | 00 05 48 1c 00 05 48 18 |...F....|..H...H.|
|00000120| 00 05 48 14 00 05 48 24 | 00 05 48 20 00 00 00 00 |..H...H$|..H ....|
|00000130| 00 00 00 00 00 06 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 15 12 00 00 17 e7 |........|........|
|00000150| 02 64 00 00 00 00 00 2b | 00 00 00 00 00 00 00 00 |.d.....+|........|
|00000160| 00 2b 00 00 00 00 ff 00 | 00 00 00 00 00 00 00 00 |.+......|........|
|00000170| 00 00 01 01 02 64 00 00 | 00 48 00 48 00 01 00 18 |.....d..|.H.H....|
|00000180| 03 18 02 64 00 00 00 00 | 02 da 02 2f 00 64 00 04 |...d....|.../.d..|
|00000190| 00 00 04 00 52 e2 00 77 | 17 2c 01 be 00 13 04 00 |....R..w|.,......|
|000001a0| 52 e2 00 77 17 2c 01 be | 00 13 fc 71 00 00 16 de |R..w.,..|...q....|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 56 59 00 00 |........|....VY..|
|000001c0| 56 59 00 00 56 59 00 00 | a7 d5 00 00 00 00 00 00 |VY..VY..|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 04 0d 0d 0d 0d 00 04 | 0d 0d 0d 0d 00 78 00 03 |........|.....x..|
|00000210| 00 00 00 48 00 48 00 00 | 00 00 02 da 02 2f 00 00 |...H.H..|...../..|
|00000220| 00 00 03 18 02 64 01 5b | 05 28 03 fc 00 02 00 00 |.....d.[|.(......|
|00000230| 00 48 00 48 00 00 00 00 | 03 18 02 64 00 01 00 00 |.H.H....|...d....|
|00000240| 00 64 00 00 00 01 00 01 | 01 01 00 00 00 01 27 0f |.d......|......'.|
|00000250| 00 01 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 02 00 19 01 90 00 00 | 00 00 00 40 00 00 00 00 |........|...@....|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 0f | ff 00 15 12 01 f7 4e 65 |........|......Ne|
|00000290| 78 74 53 74 65 70 0d 02 | 1d 0d ff 00 15 12 01 f7 |xtStep..|........|
|000002a0| 43 61 70 61 62 69 6c 69 | 74 69 65 73 20 53 65 6d |Capabili|ties Sem|
|000002b0| 69 6e 61 72 ff 00 15 10 | 00 f7 0d 0d 54 68 69 73 |inar....|....This|
|000002c0| 20 63 6c 61 73 73 20 69 | 73 20 61 6e 20 6f 76 65 | class i|s an ove|
|000002d0| 72 76 69 65 77 20 6f 66 | 20 4e 65 78 74 53 74 65 |rview of| NextSte|
|000002e0| 70 2e 20 20 53 69 6e 63 | 65 20 77 65 20 64 6f 6e |p. Sinc|e we don|
|000002f0| 27 74 20 68 61 76 65 20 | 74 69 6d 65 20 74 6f 20 |'t have |time to |
|00000300| 63 6f 76 65 72 20 61 6c | 6c 20 74 68 65 20 64 65 |cover al|l the de|
|00000310| 74 61 69 6c 73 2c 20 77 | 65 20 77 69 6c 6c 20 73 |tails, w|e will s|
|00000320| 74 69 63 6b 20 74 6f 20 | 74 72 79 69 6e 67 20 74 |tick to |trying t|
|00000330| 6f 20 65 78 70 6c 61 69 | 6e 20 74 68 65 20 22 42 |o explai|n the "B|
|00000340| 69 67 20 50 69 63 74 75 | 72 65 22 20 63 6f 6e 63 |ig Pictu|re" conc|
|00000350| 65 70 74 73 2e 20 20 57 | 65 20 77 6f 75 6c 64 20 |epts. W|e would |
|00000360| 6c 69 6b 65 20 79 6f 75 | 20 74 6f 20 6c 65 61 76 |like you| to leav|
|00000370| 65 20 68 65 72 65 20 74 | 6f 64 61 79 20 77 69 74 |e here t|oday wit|
|00000380| 68 20 61 6e 20 75 6e 64 | 65 72 73 74 61 6e 64 69 |h an und|erstandi|
|00000390| 6e 67 20 6f 66 20 74 68 | 65 20 ff 00 15 10 01 f7 |ng of th|e ......|
|000003a0| 63 61 70 61 62 69 6c 69 | 74 69 65 73 ff 00 15 10 |capabili|ties....|
|000003b0| 00 f7 20 6f 66 20 74 68 | 65 20 73 79 73 74 65 6d |.. of th|e system|
|000003c0| 2c 20 61 6e 64 20 77 68 | 61 74 20 ff 00 15 10 01 |, and wh|at .....|
|000003d0| f7 70 6f 74 65 6e 74 69 | 61 6c ff 00 15 10 00 f7 |.potenti|al......|
|000003e0| 20 69 74 20 68 61 73 20 | 61 73 73 69 73 74 69 6e | it has |assistin|
|000003f0| 67 20 79 6f 75 20 61 74 | 20 72 61 70 69 64 6c 79 |g you at| rapidly|
|00000400| 20 63 72 65 61 74 69 6e | 67 20 79 6f 75 72 20 6f | creatin|g your o|
|00000410| 77 6e 20 ff 00 15 10 02 | f7 5b 20 63 6f 75 72 73 |wn .....|.[ cours|
|00000420| 65 77 61 72 65 20 7c 20 | 61 70 70 6c 69 63 61 74 |eware | |applicat|
|00000430| 69 6f 6e 73 20 5d ff 00 | 15 10 00 f7 20 2e 20 20 |ions ]..|.... . |
|00000440| 53 6f 20 79 6f 75 20 63 | 61 6e 20 73 65 65 20 6d |So you c|an see m|
|00000450| 79 20 67 6f 61 6c 20 68 | 65 72 65 20 69 73 20 74 |y goal h|ere is t|
|00000460| 6f 20 65 78 63 69 74 65 | 20 61 6e 64 20 69 6e 73 |o excite| and ins|
|00000470| 70 69 72 65 20 79 6f 75 | 20 74 6f 20 63 72 65 61 |pire you| to crea|
|00000480| 74 65 20 79 6f 75 20 6f | 77 6e 20 63 75 73 74 6f |te you o|wn custo|
|00000490| 6d 20 73 6f 6c 75 74 69 | 6f 6e 73 20 66 6f 72 20 |m soluti|ons for |
|000004a0| 79 6f 75 72 20 73 70 65 | 63 69 66 69 63 20 74 61 |your spe|cific ta|
|000004b0| 73 6b 73 2e 0d 0d 02 fc | 0d ff 00 15 12 01 f7 53 |sks.....|.......S|
|000004c0| 65 6d 69 6e 61 72 20 46 | 6f 72 6d 61 74 ff 00 15 |eminar F|ormat...|
|000004d0| 10 00 f7 0d 0d 42 65 63 | 61 75 73 65 20 6f 66 20 |.....Bec|ause of |
|000004e0| 74 68 65 20 62 72 6f 61 | 64 20 62 61 63 6b 67 72 |the broa|d backgr|
|000004f0| 6f 75 6e 64 20 6f 66 20 | 70 65 6f 70 6c 65 20 77 |ound of |people w|
|00000500| 68 6f 20 61 72 65 20 69 | 6e 74 65 72 65 73 74 65 |ho are i|ntereste|
|00000510| 64 20 69 6e 20 74 68 65 | 20 4e 65 58 54 20 63 6f |d in the| NeXT co|
|00000520| 6d 70 75 74 65 72 2c 20 | 77 65 20 68 61 76 65 20 |mputer, |we have |
|00000530| 70 61 72 74 69 74 69 6f | 6e 65 64 20 74 68 65 20 |partitio|ned the |
|00000540| 63 6c 61 73 73 20 69 6e | 74 6f 20 74 68 72 65 65 |class in|to three|
|00000550| 20 73 65 67 6d 65 6e 74 | 73 2e 20 20 54 68 65 20 | segment|s. The |
|00000560| 66 69 72 73 74 20 69 73 | 20 74 61 72 67 65 74 65 |first is| targete|
|00000570| 64 20 61 74 20 61 20 76 | 65 72 79 20 67 65 6e 65 |d at a v|ery gene|
|00000580| 72 61 6c 20 61 75 64 69 | 65 6e 63 65 2e 20 20 57 |ral audi|ence. W|
|00000590| 65 20 77 61 6e 74 20 74 | 6f 20 61 70 70 65 61 6c |e want t|o appeal|
|000005a0| 20 74 6f 20 70 65 6f 70 | 6c 65 20 74 68 61 74 20 | to peop|le that |
|000005b0| 68 61 76 65 20 6f 6e 6c | 79 20 68 61 64 20 61 20 |have onl|y had a |
|000005c0| 76 65 72 79 20 73 6d 61 | 6c 6c 20 65 78 70 6f 73 |very sma|ll expos|
|000005d0| 75 72 65 20 74 6f 20 63 | 72 65 61 74 69 6e 67 20 |ure to c|reating |
|000005e0| 74 68 65 69 72 20 6f 77 | 6e 20 61 70 70 6c 69 63 |their ow|n applic|
|000005f0| 61 74 69 6f 6e 73 2e 20 | 20 54 68 65 20 73 65 63 |ations. | The sec|
|00000600| 6f 6e 64 20 70 61 72 74 | 20 69 73 20 66 6f 72 20 |ond part| is for |
|00000610| 6e 6f 76 69 63 65 20 70 | 72 6f 67 72 61 6d 6d 65 |novice p|rogramme|
|00000620| 72 73 2c 20 70 65 6f 70 | 6c 65 20 74 68 61 74 20 |rs, peop|le that |
|00000630| 6d 69 67 68 74 20 68 61 | 76 65 20 68 61 64 20 73 |might ha|ve had s|
|00000640| 6f 6d 65 20 65 78 70 6f | 73 75 72 65 20 74 6f 20 |ome expo|sure to |
|00000650| 42 41 53 49 43 20 6f 72 | 20 6f 74 68 65 72 20 62 |BASIC or| other b|
|00000660| 65 67 69 6e 6e 69 6e 67 | 20 6c 61 6e 67 75 61 67 |eginning| languag|
|00000670| 65 73 2e 20 20 54 68 65 | 20 74 68 69 72 64 20 73 |es. The| third s|
|00000680| 65 63 74 69 6f 6e 20 69 | 73 20 74 61 72 67 65 74 |ection i|s target|
|00000690| 65 64 20 61 74 20 6d 6f | 72 65 20 65 78 70 65 72 |ed at mo|re exper|
|000006a0| 69 65 6e 63 65 64 20 70 | 72 6f 67 72 61 6d 6d 65 |ienced p|rogramme|
|000006b0| 72 73 2e 20 20 41 6c 74 | 68 6f 75 67 68 20 77 65 |rs. Alt|hough we|
|000006c0| 20 68 61 76 65 20 73 65 | 74 20 61 73 69 64 65 20 | have se|t aside |
|000006d0| 74 69 6d 65 20 66 6f 72 | 20 73 68 6f 72 74 20 71 |time for| short q|
|000006e0| 75 65 73 74 69 6f 6e 73 | 20 64 75 72 69 6e 67 20 |uestions| during |
|000006f0| 74 68 65 20 66 69 72 73 | 74 20 73 65 63 74 69 6f |the firs|t sectio|
|00000700| 6e 73 2c 20 49 20 77 69 | 6c 6c 20 61 6c 73 6f 20 |ns, I wi|ll also |
|00000710| 62 65 20 61 72 6f 75 6e | 64 20 61 66 74 65 72 20 |be aroun|d after |
|00000720| 74 68 65 20 6c 61 73 74 | 20 73 65 73 73 69 6f 6e |the last| session|
|00000730| 20 66 6f 72 20 70 65 6f | 70 6c 65 20 77 69 74 68 | for peo|ple with|
|00000740| 20 64 65 74 61 69 6c 65 | 64 20 71 75 65 73 74 69 | detaile|d questi|
|00000750| 6f 6e 73 20 73 75 63 68 | 20 61 73 20 70 72 6f 67 |ons such| as prog|
|00000760| 72 61 6d 6d 69 6e 67 20 | 69 6e 20 4c 49 53 50 20 |ramming |in LISP |
|00000770| 6f 72 20 75 73 69 6e 67 | 20 74 68 65 20 44 69 67 |or using| the Dig|
|00000780| 69 74 61 6c 20 53 69 67 | 6e 61 6c 20 50 72 6f 63 |ital Sig|nal Proc|
|00000790| 65 73 73 6f 72 2e 0d 0d | ff 00 15 12 01 f7 54 68 |essor...|......Th|
|000007a0| 65 20 42 69 67 20 50 69 | 63 74 75 72 65 ff 00 15 |e Big Pi|cture...|
|000007b0| 10 00 f7 0d 00 01 0d 01 | 42 ff 00 15 12 01 f7 50 |........|B......P|
|000007c0| 6c 61 6e 74 20 45 78 61 | 6d 70 6c 65 ff 00 15 10 |lant Exa|mple....|
|000007d0| 00 f7 0d 0d 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |....For |example,|
|000007e0| 20 73 61 79 20 77 65 20 | 68 61 64 20 74 68 65 20 | say we |had the |
|000007f0| 70 72 6f 62 6c 65 6d 20 | 6f 66 20 6d 6f 64 65 6c |problem |of model|
|00000800| 69 6e 67 20 70 6c 61 6e | 74 73 2e 20 20 54 68 65 |ing plan|ts. The|
|00000810| 20 6f 62 6a 65 63 74 20 | 6f 72 69 65 6e 74 65 64 | object |oriented|
|00000820| 20 70 72 6f 67 72 61 6d | 6d 65 72 20 6d 69 67 68 | program|mer migh|
|00000830| 74 20 66 69 72 73 74 20 | 70 61 72 74 69 74 69 6f |t first |partitio|
|00000840| 6e 20 74 68 65 20 70 6c | 61 6e 74 20 69 6e 74 6f |n the pl|ant into|
|00000850| 20 73 74 72 75 63 74 75 | 72 65 73 20 73 75 63 68 | structu|res such|
|00000860| 20 61 73 20 6c 65 61 76 | 65 73 2c 20 73 74 65 6d | as leav|es, stem|
|00000870| 73 20 61 6e 64 20 66 6c | 6f 77 65 72 73 2e 20 20 |s and fl|owers. |
|00000880| 54 68 65 73 65 20 6f 62 | 6a 65 63 74 73 20 77 6f |These ob|jects wo|
|00000890| 75 6c 64 20 74 68 65 6e | 20 61 6c 73 6f 20 62 65 |uld then| also be|
|000008a0| 20 61 6e 61 6c 79 7a 65 | 64 20 66 75 72 74 68 65 | analyze|d furthe|
|000008b0| 72 20 75 6e 74 69 6c 20 | 74 68 65 20 70 72 6f 62 |r until |the prob|
|000008c0| 6c 65 6d 73 20 63 6f 75 | 6c 64 20 62 65 20 72 65 |lems cou|ld be re|
|000008d0| 70 72 65 73 65 6e 74 65 | 64 20 62 79 20 6c 6f 77 |presente|d by low|
|000008e0| 65 72 20 6c 65 76 65 6c | 20 64 61 74 61 20 73 74 |er level| data st|
|000008f0| 72 75 63 74 75 72 65 73 | 2e 0d 0d 01 6c ff 00 15 |ructures|....l...|
|00000900| 12 01 f7 4c 6f 77 20 4c | 65 76 65 6c 20 44 61 74 |...Low L|evel Dat|
|00000910| 61 20 53 74 72 75 63 74 | 75 72 65 73 ff 00 15 10 |a Struct|ures....|
|00000920| 00 f7 0d 0d 49 6e 20 63 | 6f 6e 74 72 61 73 74 2c |....In c|ontrast,|
|00000930| 20 6d 61 6e 79 20 6f 74 | 68 65 72 20 64 65 73 69 | many ot|her desi|
|00000940| 67 6e 20 6d 65 74 68 6f | 64 73 20 73 74 61 72 74 |gn metho|ds start|
|00000950| 20 62 79 20 75 73 69 6e | 67 20 74 68 65 73 65 20 | by usin|g these |
|00000960| 6c 6f 77 65 72 20 6c 65 | 76 65 6c 20 73 74 72 75 |lower le|vel stru|
|00000970| 63 74 75 72 65 73 20 61 | 6e 64 20 6b 65 65 70 20 |ctures a|nd keep |
|00000980| 61 73 73 65 6d 62 6c 69 | 6e 67 20 74 68 65 6d 20 |assembli|ng them |
|00000990| 75 6e 74 69 6c 20 74 68 | 65 79 20 73 74 61 72 74 |until th|ey start|
|000009a0| 20 73 69 6d 75 6c 61 74 | 69 6e 67 20 74 68 65 20 | simulat|ing the |
|000009b0| 68 69 67 68 65 72 20 6c | 65 76 65 6c 20 73 74 72 |higher l|evel str|
|000009c0| 75 63 74 75 72 65 73 2e | 20 20 54 68 65 79 20 68 |uctures.| They h|
|000009d0| 61 76 65 20 61 20 63 6f | 6c 6c 65 63 74 69 6f 6e |ave a co|llection|
|000009e0| 20 6f 66 20 64 61 74 61 | 20 73 74 72 75 63 74 75 | of data| structu|
|000009f0| 72 65 73 20 61 6e 64 20 | 61 20 63 6f 6c 6c 65 63 |res and |a collec|
|00000a00| 74 69 6f 6e 20 6f 66 20 | 61 6c 67 6f 72 69 74 68 |tion of |algorith|
|00000a10| 6d 73 20 61 6e 64 20 74 | 68 65 79 20 62 75 69 6c |ms and t|hey buil|
|00000a20| 64 20 70 72 6f 67 72 61 | 6d 73 20 62 79 20 63 6f |d progra|ms by co|
|00000a30| 6d 62 69 6e 69 6e 67 20 | 74 68 65 6d 20 69 74 20 |mbining |them it |
|00000a40| 77 68 61 74 65 76 65 72 | 20 77 61 79 20 62 65 73 |whatever| way bes|
|00000a50| 74 20 6d 61 74 63 68 65 | 73 20 74 68 65 69 72 20 |t matche|s their |
|00000a60| 70 72 6f 62 6c 65 6d 2e | 0d 02 5f 0d 54 68 69 73 |problem.|.._.This|
|00000a70| 20 6c 61 73 74 20 67 65 | 6e 65 72 61 6c 20 70 6f | last ge|neral po|
|00000a80| 69 6e 74 20 69 73 20 74 | 68 61 74 20 63 61 72 65 |int is t|hat care|
|00000a90| 66 75 6c 20 70 61 72 74 | 69 74 69 6f 6e 69 6e 67 |ful part|itioning|
|00000aa0| 20 6f 66 20 79 6f 75 72 | 20 70 72 6f 62 6c 65 6d | of your| problem|
|00000ab0| 20 61 6c 6c 6f 77 73 20 | 79 6f 75 20 74 6f 20 64 | allows |you to d|
|00000ac0| 6f 20 64 69 73 74 72 69 | 62 75 74 65 64 20 63 6f |o distri|buted co|
|00000ad0| 6d 70 75 74 69 6e 67 2e | 20 20 46 6f 72 20 65 78 |mputing.| For ex|
|00000ae0| 61 6d 70 6c 65 20 69 6e | 20 74 68 65 20 42 72 65 |ample in| the Bre|
|00000af0| 61 6b 41 70 70 20 70 72 | 6f 67 72 61 6d 2c 20 65 |akApp pr|ogram, e|
|00000b00| 76 65 72 79 20 74 69 6d | 65 20 74 68 65 20 62 61 |very tim|e the ba|
|00000b10| 6c 6c 20 68 69 74 73 20 | 74 68 65 20 77 69 6c 6c |ll hits |the will|
|00000b20| 20 79 6f 75 20 68 65 61 | 72 20 73 6f 75 6e 64 20 | you hea|r sound |
|00000b30| 6c 69 6b 65 20 61 20 70 | 6c 75 63 6b 65 64 20 73 |like a p|lucked s|
|00000b40| 74 72 69 6e 67 20 76 69 | 62 72 61 74 69 6e 67 2e |tring vi|brating.|
|00000b50| 20 20 54 68 69 73 20 69 | 73 20 61 63 74 75 61 6c | This i|s actual|
|00000b60| 6c 79 20 61 20 62 65 69 | 6e 67 20 64 6f 6e 65 20 |ly a bei|ng done |
|00000b70| 62 79 20 61 20 74 68 65 | 20 44 53 50 2e 20 20 59 |by a the| DSP. Y|
|00000b80| 6f 75 20 6d 69 67 68 74 | 20 61 6c 73 6f 20 6e 6f |ou might| also no|
|00000b90| 74 69 63 65 20 74 68 61 | 74 20 4d 61 74 68 65 6d |tice tha|t Mathem|
|00000ba0| 61 74 69 63 61 20 68 61 | 73 20 61 20 70 72 65 66 |atica ha|s a pref|
|00000bb0| 65 72 65 6e 63 65 73 20 | 6d 65 6e 75 20 74 68 61 |erences |menu tha|
|00000bc0| 74 20 61 6c 6c 6f 77 20 | 79 6f 75 20 74 6f 20 72 |t allow |you to r|
|00000bd0| 75 6e 20 74 68 65 20 6b | 65 72 6e 65 6c 20 6f 6e |un the k|ernel on|
|00000be0| 20 61 6e 6f 74 68 65 72 | 20 70 72 6f 63 65 73 73 | another| process|
|00000bf0| 6f 72 2e 20 20 53 6f 20 | 79 6f 75 20 63 61 6e 20 |or. So |you can |
|00000c00| 72 75 6e 20 79 6f 75 20 | 70 72 6f 67 72 61 6d 73 |run you |programs|
|00000c10| 20 6f 6e 20 74 68 65 20 | 6d 61 69 6e 20 36 38 30 | on the |main 680|
|00000c20| 33 30 2c 20 74 68 65 20 | 44 53 50 2c 20 6f 6e 20 |30, the |DSP, on |
|00000c30| 70 72 6f 63 65 73 73 6f | 72 73 20 74 68 61 74 20 |processo|rs that |
|00000c40| 61 72 65 20 6c 61 74 65 | 72 20 61 64 64 65 64 20 |are late|r added |
|00000c50| 75 73 69 6e 67 20 74 68 | 65 20 63 75 72 72 65 6e |using th|e curren|
|00000c60| 74 20 74 68 72 65 65 20 | 65 6d 70 74 79 20 4e 65 |t three |empty Ne|
|00000c70| 78 74 42 75 73 20 73 6c | 6f 74 73 2c 20 6f 6e 20 |xtBus sl|ots, on |
|00000c80| 61 20 63 6f 6d 70 75 74 | 65 20 73 65 72 76 65 72 |a comput|e server|
|00000c90| 20 64 6f 77 6e 20 74 68 | 65 20 68 61 6c 6c 2c 20 | down th|e hall, |
|00000ca0| 6f 72 20 6f 6e 20 61 20 | 66 69 6c 65 20 73 65 76 |or on a |file sev|
|00000cb0| 65 72 20 61 20 74 68 6f | 75 73 61 6e 64 20 6d 69 |er a tho|usand mi|
|00000cc0| 6c 65 73 20 61 77 61 79 | 2e 0d 00 26 0d 4f 4f 50 |les away|...&.OOP|
|00000cd0| 20 43 6c 61 73 73 20 53 | 63 72 69 70 74 20 2d 20 | Class S|cript - |
|00000ce0| 44 47 4d 20 2d 20 56 65 | 72 73 69 6f 6e 20 31 32 |DGM - Ve|rsion 12|
|00000cf0| 0d 0d 00 06 0d fd 00 f7 | 0d 0d 03 2c ff 00 15 10 |........|...,....|
|00000d00| 02 f7 f5 f6 54 68 69 73 | 20 69 73 20 6d 79 20 73 |....This| is my s|
|00000d10| 63 72 69 70 74 20 66 6f | 72 20 74 68 65 20 56 69 |cript fo|r the Vi|
|00000d20| 65 77 47 72 61 70 68 73 | 2e 20 20 49 66 20 79 6f |ewGraphs|. If yo|
|00000d30| 75 20 72 75 6e 20 61 63 | 72 6f 73 73 20 61 20 73 |u run ac|ross a s|
|00000d40| 65 74 20 6f 66 20 73 71 | 75 61 72 65 20 62 72 61 |et of sq|uare bra|
|00000d50| 63 6b 65 74 73 2c 20 79 | 6f 75 20 63 61 6e 20 63 |ckets, y|ou can c|
|00000d60| 68 6f 6f 73 65 20 6f 6e | 65 20 6f 66 20 74 68 65 |hoose on|e of the|
|00000d70| 20 74 77 6f 20 70 68 72 | 61 73 65 73 20 62 61 73 | two phr|ases bas|
|00000d80| 65 64 20 6f 6e 20 74 68 | 65 20 67 72 6f 75 70 20 |ed on th|e group |
|00000d90| 79 6f 75 20 61 72 65 20 | 74 61 6c 6b 69 6e 67 20 |you are |talking |
|00000da0| 74 6f 2e 20 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |to. For| example|
|00000db0| 20 61 20 70 72 65 73 65 | 6e 74 61 74 69 6f 6e 20 | a prese|ntation |
|00000dc0| 74 6f 20 61 6e 20 61 63 | 61 64 65 6d 69 63 20 61 |to an ac|ademic a|
|00000dd0| 75 64 69 65 6e 63 65 20 | 6d 69 67 68 74 20 75 73 |udience |might us|
|00000de0| 65 20 ff 00 15 10 00 f7 | 63 6f 75 72 73 65 77 61 |e ......|coursewa|
|00000df0| 72 65 ff 00 15 10 02 f7 | 20 61 6e 64 20 74 6f 20 |re......| and to |
|00000e00| 61 20 66 6f 72 74 75 6e | 65 20 35 30 30 20 63 6f |a fortun|e 500 co|
|00000e10| 6d 70 61 6e 79 20 6d 69 | 67 68 74 20 75 73 65 20 |mpany mi|ght use |
|00000e20| ff 00 15 10 00 f7 70 72 | 6f 64 75 63 74 69 76 69 |......pr|oductivi|
|00000e30| 74 79 20 73 6f 6c 75 74 | 69 6f 6e 73 ff 00 15 10 |ty solut|ions....|
|00000e40| 02 f7 2e 0d 0d ff 00 15 | 12 01 f7 54 68 65 20 53 |........|...The S|
|00000e50| 6f 66 74 77 61 72 65 20 | 43 72 69 73 69 73 0d ff |oftware |Crisis..|
|00000e60| 00 15 10 02 f7 0d ff 00 | 15 10 00 f7 49 20 77 6f |........|....I wo|
|00000e70| 75 6c 64 20 6c 69 6b 65 | 20 74 6f 20 74 61 6c 6b |uld like| to talk|
|00000e80| 20 74 6f 20 79 6f 75 20 | 61 62 6f 75 74 20 61 20 | to you |about a |
|00000e90| 63 72 69 73 69 73 2e 20 | 41 20 43 72 69 73 69 73 |crisis. |A Crisis|
|00000ea0| 20 74 68 61 74 20 68 61 | 73 20 62 65 65 6e 20 67 | that ha|s been g|
|00000eb0| 6f 69 6e 67 20 6f 6e 20 | 69 6e 20 74 68 65 20 73 |oing on |in the s|
|00000ec0| 6f 66 74 77 61 72 65 20 | 69 6e 64 75 73 74 72 79 |oftware |industry|
|00000ed0| 20 66 6f 72 20 74 68 65 | 20 6c 61 73 74 20 73 65 | for the| last se|
|00000ee0| 76 65 72 61 6c 20 79 65 | 61 72 73 2e 20 20 41 20 |veral ye|ars. A |
|00000ef0| 63 72 69 73 69 73 20 73 | 6f 20 73 65 76 65 72 65 |crisis s|o severe|
|00000f00| 20 74 68 61 74 20 69 74 | 20 68 61 73 20 62 65 65 | that it| has bee|
|00000f10| 6e 20 63 61 6c 6c 65 64 | 20 61 6e 20 65 70 69 64 |n called| an epid|
|00000f20| 65 6d 69 63 2e 20 20 49 | 74 20 6f 63 63 75 72 72 |emic. I|t occurr|
|00000f30| 65 64 20 62 65 63 61 75 | 73 65 20 73 6f 66 74 77 |ed becau|se softw|
|00000f40| 61 72 65 20 64 65 76 65 | 6c 6f 70 65 72 73 20 68 |are deve|lopers h|
|00000f50| 61 76 65 20 62 65 65 6e | 20 63 6f 6e 74 69 6e 75 |ave been| continu|
|00000f60| 61 6c 6c 79 20 61 64 64 | 69 6e 67 20 66 65 61 74 |ally add|ing feat|
|00000f70| 75 72 65 73 20 74 6f 20 | 6f 6c 64 20 70 72 6f 67 |ures to |old prog|
|00000f80| 72 61 6d 73 20 75 6e 74 | 69 6c 20 74 68 65 79 20 |rams unt|il they |
|00000f90| 62 65 63 6f 6d 65 20 69 | 6d 70 6f 73 73 69 62 6c |become i|mpossibl|
|00000fa0| 65 20 74 6f 20 6d 61 6e | 61 67 65 20 65 66 66 69 |e to man|age effi|
|00000fb0| 63 69 65 6e 74 6c 79 2e | 20 20 45 76 65 72 79 20 |ciently.| Every |
|00000fc0| 74 69 6d 65 20 74 68 65 | 79 20 77 61 6e 74 20 74 |time the|y want t|
|00000fd0| 6f 20 61 64 64 20 61 20 | 6e 65 77 20 66 65 61 74 |o add a |new feat|
|00000fe0| 75 72 65 20 74 68 65 79 | 20 69 6e 74 72 6f 64 75 |ure they| introdu|
|00000ff0| 63 65 20 74 77 6f 20 6e | 65 77 20 62 75 67 73 2c |ce two n|ew bugs,|
|00001000| 20 61 6e 64 20 66 69 78 | 69 6e 67 20 74 68 6f 73 | and fix|ing thos|
|00001010| 65 20 62 75 67 73 20 63 | 72 65 61 74 65 20 6e 65 |e bugs c|reate ne|
|00001020| 77 20 62 75 67 73 2e 0d | 01 77 0d ff 00 15 12 01 |w bugs..|.w......|
|00001030| f7 46 61 6c 6c 69 6e 67 | 20 50 72 6f 64 75 63 74 |.Falling| Product|
|00001040| 69 76 69 74 79 ff 00 14 | 30 01 f7 0d ff 00 15 10 |ivity...|0.......|
|00001050| 00 f7 0d 53 6f 20 77 68 | 61 74 20 77 65 20 73 65 |...So wh|at we se|
|00001060| 65 20 69 73 20 61 20 64 | 72 61 6d 61 74 69 63 20 |e is a d|ramatic |
|00001070| 64 72 6f 70 20 69 6e 20 | 70 72 6f 64 75 63 74 69 |drop in |producti|
|00001080| 76 69 74 79 20 61 73 20 | 79 6f 75 20 61 64 64 20 |vity as |you add |
|00001090| 6e 65 77 20 66 65 61 74 | 75 72 65 73 20 74 6f 20 |new feat|ures to |
|000010a0| 65 78 69 73 74 69 6e 67 | 20 73 79 73 74 65 6d 73 |existing| systems|
|000010b0| 2e 20 20 49 66 20 79 6f | 75 20 6c 6f 6f 6b 20 63 |. If yo|u look c|
|000010c0| 6c 6f 73 65 72 2c 20 77 | 65 20 77 69 6c 6c 20 66 |loser, w|e will f|
|000010d0| 69 6e 64 20 74 68 61 74 | 20 74 68 65 20 73 6f 66 |ind that| the sof|
|000010e0| 74 77 61 72 65 20 77 61 | 73 20 6f 72 69 67 69 6e |tware wa|s origin|
|000010f0| 61 6c 6c 79 20 63 72 65 | 61 74 65 64 20 69 6e 20 |ally cre|ated in |
|00001100| 61 6e 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 61 |an envir|onment a|
|00001110| 70 70 72 6f 70 72 69 61 | 74 65 20 66 6f 72 20 73 |ppropria|te for s|
|00001120| 6d 61 6c 6c 20 70 72 6f | 6a 65 63 74 73 20 62 75 |mall pro|jects bu|
|00001130| 74 20 69 6e 61 70 70 72 | 6f 70 72 69 61 74 65 20 |t inappr|opriate |
|00001140| 66 6f 72 20 6c 61 72 67 | 65 20 73 79 73 74 65 6d |for larg|e system|
|00001150| 73 2e 20 20 54 68 65 20 | 6f 6c 64 20 74 6f 6f 6c |s. The |old tool|
|00001160| 73 20 73 69 6d 70 6c 79 | 20 64 6f 20 6e 6f 74 20 |s simply| do not |
|00001170| 63 75 74 20 69 6e 20 77 | 68 65 6e 20 73 6f 6c 76 |cut in w|hen solv|
|00001180| 69 6e 67 20 70 72 6f 62 | 6c 65 6d 73 20 6f 66 20 |ing prob|lems of |
|00001190| 61 20 6e 65 77 20 6d 61 | 67 6e 69 74 75 64 65 2e |a new ma|gnitude.|
|000011a0| 0d 02 f1 ff 00 15 12 01 | f7 54 68 65 20 4e 65 58 |........|.The NeX|
|000011b0| 54 20 53 6f 6c 75 74 69 | 6f 6e 0d ff 00 15 10 00 |T Soluti|on......|
|000011c0| f7 0d 41 74 20 4e 65 58 | 54 2c 20 77 65 20 66 65 |..At NeX|T, we fe|
|000011d0| 65 6c 20 77 65 20 68 61 | 76 65 20 66 6f 75 6e 64 |el we ha|ve found|
|000011e0| 20 61 20 73 6f 6c 75 74 | 69 6f 6e 2e 20 20 41 20 | a solut|ion. A |
|000011f0| 73 65 61 6d 6c 65 73 73 | 6c 79 20 69 6e 74 65 67 |seamless|ly integ|
|00001200| 72 61 74 65 64 20 64 65 | 76 65 6c 6f 70 6d 65 6e |rated de|velopmen|
|00001210| 74 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 62 61 |t enviro|nment ba|
|00001220| 73 65 64 20 6f 6e 20 74 | 68 65 20 70 72 69 6e 63 |sed on t|he princ|
|00001230| 69 70 6c 65 73 20 6f 66 | 20 6f 62 6a 65 63 74 20 |iples of| object |
|00001240| 6f 72 69 65 6e 74 65 64 | 20 70 72 6f 67 72 61 6d |oriented| program|
|00001250| 6d 69 6e 67 2e 20 20 41 | 6e 64 20 62 65 63 61 75 |ming. A|nd becau|
|00001260| 73 65 20 77 65 20 73 74 | 61 72 74 65 64 20 66 72 |se we st|arted fr|
|00001270| 6f 6d 20 73 63 72 61 74 | 63 68 20 77 65 20 64 6f |om scrat|ch we do|
|00001280| 6e 27 74 20 68 61 76 65 | 20 74 68 65 20 63 6f 6e |n't have| the con|
|00001290| 73 74 72 61 69 6e 74 73 | 20 6f 66 20 73 6f 6d 65 |straints| of some|
|000012a0| 20 6f 66 20 74 68 65 20 | 6f 74 68 65 72 20 6d 61 | of the |other ma|
|000012b0| 69 6e 73 74 72 65 61 6d | 20 63 6f 6d 70 75 74 65 |instream| compute|
|000012c0| 72 20 76 65 6e 64 6f 72 | 73 20 77 68 6f 20 6d 75 |r vendor|s who mu|
|000012d0| 73 74 20 73 75 70 70 6f | 72 74 20 70 72 6f 67 72 |st suppo|rt progr|
|000012e0| 61 6d 73 20 61 6e 64 20 | 73 6f 66 74 77 61 72 65 |ams and |software|
|000012f0| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 73 20 62 61 | environ|ments ba|
|00001300| 73 65 64 20 6f 6e 20 73 | 6f 66 74 77 61 72 65 20 |sed on s|oftware |
|00001310| 74 65 63 68 6e 6f 6c 6f | 67 79 20 64 65 76 65 6c |technolo|gy devel|
|00001320| 6f 70 65 64 20 69 6e 20 | 74 68 65 20 37 30 73 2e |oped in |the 70s.|
|00001330| 20 20 4f 75 72 20 67 6f | 61 6c 20 69 73 20 73 74 | Our go|al is st|
|00001340| 72 61 69 67 68 74 20 66 | 6f 72 77 61 72 64 3a 20 |raight f|orward: |
|00001350| 6d 61 6b 65 20 70 65 6f | 70 6c 65 20 61 6e 20 6f |make peo|ple an o|
|00001360| 72 64 65 72 20 6f 66 20 | 6d 61 67 6e 69 74 75 64 |rder of |magnitud|
|00001370| 65 20 6d 6f 72 65 20 70 | 72 6f 64 75 63 74 69 76 |e more p|roductiv|
|00001380| 65 20 63 72 65 61 74 69 | 6e 67 20 77 68 61 74 65 |e creati|ng whate|
|00001390| 76 65 72 20 41 70 70 6c | 69 63 61 74 69 6f 6e 73 |ver Appl|ications|
|000013a0| 20 74 68 65 79 20 6e 65 | 65 64 20 74 6f 20 73 6f | they ne|ed to so|
|000013b0| 6c 76 65 20 74 68 65 69 | 72 20 73 70 65 63 69 66 |lve thei|r specif|
|000013c0| 69 63 20 70 72 6f 62 6c | 65 6d 73 2e 20 20 41 6e |ic probl|ems. An|
|000013d0| 64 20 74 68 69 73 20 64 | 6f 65 73 20 6e 6f 74 20 |d this d|oes not |
|000013e0| 61 70 70 6c 79 20 6f 6e | 6c 79 20 74 6f 20 70 72 |apply on|ly to pr|
|000013f0| 6f 67 72 61 6d 6d 65 72 | 73 2e 20 20 45 76 65 6e |ogrammer|s. Even|
|00001400| 20 70 65 6f 70 6c 65 20 | 77 68 6f 20 64 6f 6e 27 | people |who don'|
|00001410| 74 20 6b 6e 6f 77 20 68 | 6f 77 20 74 6f 20 64 6f |t know h|ow to do|
|00001420| 20 61 6e 79 74 68 69 6e | 67 20 6d 6f 72 65 20 74 | anythin|g more t|
|00001430| 68 65 6e 20 70 6f 69 6e | 74 20 61 6e 64 20 63 6c |hen poin|t and cl|
|00001440| 69 63 6b 20 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |ick shou|ld have |
|00001450| 61 63 63 65 73 73 20 74 | 6f 20 74 68 65 20 73 61 |access t|o the sa|
|00001460| 6d 65 20 74 6f 6f 6c 73 | 20 74 68 61 74 20 75 6e |me tools| that un|
|00001470| 74 69 6c 20 6e 6f 77 20 | 6f 6e 6c 79 20 70 72 6f |til now |only pro|
|00001480| 67 72 61 6d 6d 65 72 73 | 20 63 6f 75 6c 64 20 75 |grammers| could u|
|00001490| 73 65 2e 0d 04 77 ff 00 | 15 10 00 f7 0d 57 65 20 |se...w..|.....We |
|000014a0| 63 61 6c 6c 20 6f 75 72 | 20 73 6f 6c 75 74 69 6f |call our| solutio|
|000014b0| 6e 20 4e 65 78 74 53 74 | 65 70 2e 20 20 49 74 20 |n NextSt|ep. It |
|000014c0| 63 6f 6e 73 69 73 74 73 | 20 6f 66 20 74 68 65 20 |consists| of the |
|000014d0| 6d 69 64 64 6c 65 20 66 | 6f 75 72 20 6c 61 79 65 |middle f|our laye|
|000014e0| 72 73 20 73 68 6f 77 6e | 20 68 65 72 65 2e 20 20 |rs shown| here. |
|000014f0| 49 74 20 67 61 69 6e 73 | 20 61 64 64 69 74 69 6f |It gains| additio|
|00001500| 6e 61 6c 20 70 6f 77 65 | 72 20 62 79 20 6c 65 76 |nal powe|r by lev|
|00001510| 65 72 61 67 69 6e 67 20 | 6f 66 66 20 6f 66 20 74 |eraging |off of t|
|00001520| 68 65 20 61 64 76 61 6e | 63 65 64 20 6d 75 6c 74 |he advan|ced mult|
|00001530| 69 2d 74 61 73 6b 69 6e | 67 20 4d 61 63 68 20 6f |i-taskin|g Mach o|
|00001540| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 20 |perating| system |
|00001550| 64 65 76 65 6c 6f 70 65 | 64 20 61 74 20 43 61 72 |develope|d at Car|
|00001560| 6e 65 67 69 65 20 4d 65 | 6c 6c 6f 6e 20 20 77 69 |negie Me|llon wi|
|00001570| 74 68 20 63 6f 6d 70 6c | 65 74 65 20 55 4e 49 58 |th compl|ete UNIX|
|00001580| 20 ff 00 17 10 00 f7 d2 | ff 00 15 10 00 f7 20 42 | .......|...... B|
|00001590| 65 72 6b 65 6c 65 79 20 | 34 2e 33 20 63 6f 6d 70 |erkeley |4.3 comp|
|000015a0| 61 74 69 62 69 6c 69 74 | 79 2e 20 20 49 74 20 68 |atibilit|y. It h|
|000015b0| 61 73 20 61 6e 20 65 78 | 74 72 65 6d 65 6c 79 20 |as an ex|tremely |
|000015c0| 66 6c 65 78 69 62 6c 65 | 20 67 72 61 70 68 69 63 |flexible| graphic|
|000015d0| 73 20 63 61 70 61 62 69 | 6c 69 74 69 65 73 20 62 |s capabi|lities b|
|000015e0| 65 63 61 75 73 65 20 69 | 74 20 72 65 6c 69 65 73 |ecause i|t relies|
|000015f0| 20 6f 6e 20 44 69 73 70 | 6c 61 79 20 50 6f 73 74 | on Disp|lay Post|
|00001600| 73 63 72 69 70 74 20 62 | 61 73 65 64 20 77 69 6e |script b|ased win|
|00001610| 64 6f 77 20 73 65 72 76 | 65 72 2e 20 20 20 4d 6f |dow serv|er. Mo|
|00001620| 73 74 20 6f 66 20 6f 75 | 72 20 74 69 6d 65 20 74 |st of ou|r time t|
|00001630| 6f 64 61 79 20 77 69 6c | 6c 20 69 6e 76 6f 6c 76 |oday wil|l involv|
|00001640| 65 20 61 20 64 69 73 63 | 75 73 73 69 6f 6e 20 6f |e a disc|ussion o|
|00001650| 66 20 74 68 65 20 6e 65 | 78 74 20 74 77 6f 20 6c |f the ne|xt two l|
|00001660| 65 76 65 6c 73 2e 20 20 | 46 69 72 73 74 20 77 65 |evels. |First we|
|00001670| 20 77 69 6c 6c 20 62 65 | 20 64 69 73 63 75 73 73 | will be| discuss|
|00001680| 69 6e 67 20 74 68 65 20 | 73 74 72 75 63 74 75 72 |ing the |structur|
|00001690| 65 20 6f 66 20 74 68 65 | 20 41 70 70 6c 69 63 61 |e of the| Applica|
|000016a0| 74 69 6f 6e 20 4b 69 74 | 2c 20 77 68 69 63 68 20 |tion Kit|, which |
|000016b0| 69 73 20 61 20 74 6f 6f | 6c 62 6f 78 20 6f 66 20 |is a too|lbox of |
|000016c0| 6f 62 6a 65 63 74 73 20 | 77 65 20 77 69 6c 6c 20 |objects |we will |
|000016d0| 75 73 65 20 74 6f 20 63 | 72 65 61 74 65 20 61 20 |use to c|reate a |
|000016e0| 63 6f 6d 70 6c 65 74 65 | 20 41 70 70 6c 69 63 61 |complete| Applica|
|000016f0| 74 69 6f 6e 2e 20 20 54 | 68 65 20 77 65 20 77 69 |tion. T|he we wi|
|00001700| 6c 6c 20 62 65 20 64 65 | 6d 6f 6e 73 74 72 61 74 |ll be de|monstrat|
|00001710| 69 6e 67 20 74 68 65 20 | 49 6e 74 65 72 66 61 63 |ing the |Interfac|
|00001720| 65 20 42 75 69 6c 64 65 | 72 2e 20 20 49 74 20 69 |e Builde|r. It i|
|00001730| 73 20 75 73 65 64 20 6d | 75 63 68 20 61 73 20 6f |s used m|uch as o|
|00001740| 6e 65 20 77 6f 75 6c 64 | 20 75 73 65 20 61 20 67 |ne would| use a g|
|00001750| 72 61 70 68 69 63 73 20 | 65 64 69 74 6f 72 20 74 |raphics |editor t|
|00001760| 6f 20 22 64 72 61 77 22 | 20 74 68 65 20 6c 61 79 |o "draw"| the lay|
|00001770| 6f 75 74 20 6f 66 20 74 | 68 65 20 68 75 6d 61 6e |out of t|he human|
|00001780| 20 69 6e 74 65 72 66 61 | 63 65 20 6f 66 20 61 6e | interfa|ce of an|
|00001790| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 61 6e 64 | applica|tion and|
|000017a0| 20 74 68 65 6e 20 63 6f | 6e 6e 65 63 74 20 74 68 | then co|nnect th|
|000017b0| 65 20 6f 62 6a 65 63 74 | 73 20 74 6f 67 65 74 68 |e object|s togeth|
|000017c0| 65 72 2e 20 20 4f 6e 20 | 74 6f 70 20 6f 66 20 74 |er. On |top of t|
|000017d0| 68 61 74 20 73 69 74 73 | 20 74 68 65 20 57 6f 72 |hat sits| the Wor|
|000017e0| 6b 73 70 61 63 65 2e 20 | 20 54 68 69 73 20 69 73 |kspace. | This is|
|000017f0| 20 74 68 65 20 70 61 72 | 74 20 6f 66 20 4e 65 78 | the par|t of Nex|
|00001800| 74 53 74 65 70 20 74 68 | 61 74 20 61 6c 6c 6f 77 |tStep th|at allow|
|00001810| 73 20 75 73 65 72 73 20 | 74 6f 20 64 6f 20 61 6c |s users |to do al|
|00001820| 6c 20 74 68 65 20 6d 61 | 6e 69 70 75 6c 61 74 69 |l the ma|nipulati|
|00001830| 6f 6e 20 6f 66 20 66 69 | 6c 65 73 20 77 69 74 68 |on of fi|les with|
|00001840| 6f 75 74 20 65 76 65 72 | 20 68 61 76 69 6e 67 20 |out ever| having |
|00001850| 74 6f 20 6f 70 65 6e 20 | 61 20 6d 61 6e 75 61 6c |to open |a manual|
|00001860| 2e 20 20 49 74 20 6d 61 | 6b 65 73 20 55 4e 49 58 |. It ma|kes UNIX|
|00001870| 20 61 63 63 65 73 73 69 | 62 6c 65 20 74 6f 20 65 | accessi|ble to e|
|00001880| 76 65 6e 20 6d 65 72 65 | 20 6d 6f 72 74 61 6c 73 |ven mere| mortals|
|00001890| 2e 20 20 53 6f 20 79 6f | 75 72 20 61 70 70 6c 69 |. So yo|ur appli|
|000018a0| 63 61 74 69 6f 6e 73 20 | 77 69 6c 6c 20 62 65 20 |cations |will be |
|000018b0| 65 61 73 79 20 74 6f 20 | 75 73 65 20 61 6e 64 20 |easy to |use and |
|000018c0| 63 6f 6e 73 69 73 74 65 | 6e 74 20 77 69 74 68 20 |consiste|nt with |
|000018d0| 6d 6f 73 74 20 6f 74 68 | 65 72 20 61 70 70 6c 69 |most oth|er appli|
|000018e0| 63 61 74 69 6f 6e 73 20 | 72 75 6e 6e 69 6e 67 20 |cations |running |
|000018f0| 69 6e 20 74 68 65 20 4e | 65 78 74 53 74 65 70 20 |in the N|extStep |
|00001900| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 2e 0d 00 ff 0d |environm|ent.....|
|00001910| 4f 75 72 20 74 61 73 6b | 20 66 6f 72 20 74 68 65 |Our task| for the|
|00001920| 20 66 69 72 73 74 20 68 | 6f 75 72 20 77 69 6c 6c | first h|our will|
|00001930| 20 62 65 20 74 6f 20 62 | 75 69 6c 64 20 75 70 20 | be to b|uild up |
|00001940| 61 20 66 6f 75 6e 64 61 | 74 69 6f 6e 20 66 6f 72 |a founda|tion for|
|00001950| 20 74 68 65 20 65 78 61 | 6d 70 6c 65 73 20 77 65 | the exa|mples we|
|00001960| 20 77 69 6c 6c 20 62 65 | 20 75 73 69 6e 67 20 6c | will be| using l|
|00001970| 61 74 65 72 20 6f 6e 2e | 20 20 57 65 20 77 69 6c |ater on.| We wil|
|00001980| 6c 20 73 74 61 72 74 20 | 62 79 20 64 65 66 69 6e |l start |by defin|
|00001990| 69 6e 67 20 74 68 65 20 | 73 63 6f 70 65 20 6f 66 |ing the |scope of|
|000019a0| 20 6f 75 72 20 74 6f 70 | 69 63 20 61 6e 64 20 64 | our top|ic and d|
|000019b0| 69 73 63 75 73 73 20 69 | 74 73 20 67 65 6e 65 72 |iscuss i|ts gener|
|000019c0| 61 6c 20 61 64 76 61 6e | 74 61 67 65 73 2e 20 20 |al advan|tages. |
|000019d0| 57 65 20 74 68 65 6e 20 | 67 6f 20 6f 6e 74 6f 20 |We then |go onto |
|000019e0| 61 20 64 69 73 63 75 73 | 73 69 6f 6e 20 6f 66 20 |a discus|sion of |
|000019f0| 74 68 65 20 6d 6f 72 65 | 20 67 65 6e 65 72 61 6c |the more| general|
|00001a00| 20 74 65 63 68 6e 69 71 | 75 65 73 2e 0d 0d 05 2b | techniq|ues....+|
|00001a10| ff 00 15 12 01 f7 57 68 | 61 74 20 69 73 20 61 6e |......Wh|at is an|
|00001a20| 20 4f 62 6a 65 63 74 3f | 0d ff 00 15 10 00 f7 0d | Object?|........|
|00001a30| 53 6f 20 77 68 61 74 20 | 69 73 20 61 6e 20 22 4f |So what |is an "O|
|00001a40| 62 6a 65 63 74 22 20 61 | 6e 64 20 68 6f 77 20 64 |bject" a|nd how d|
|00001a50| 6f 20 79 6f 75 20 62 75 | 69 6c 64 20 61 20 73 6f |o you bu|ild a so|
|00001a60| 66 74 77 61 72 65 20 64 | 65 76 65 6c 6f 70 6d 65 |ftware d|evelopme|
|00001a70| 6e 74 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 61 |nt envir|onment a|
|00001a80| 72 6f 75 6e 64 20 69 74 | 3f 20 20 49 20 61 6d 20 |round it|? I am |
|00001a90| 67 6f 69 6e 67 20 74 6f | 20 64 6f 75 62 6c 65 20 |going to| double |
|00001aa0| 63 6c 69 63 6b 20 6f 6e | 20 74 68 65 20 77 6f 72 |click on| the wor|
|00001ab0| 64 20 4f 62 6a 65 63 74 | 20 61 6e 64 20 74 68 65 |d Object| and the|
|00001ac0| 6e 20 75 73 65 20 74 68 | 65 20 22 44 65 66 69 6e |n use th|e "Defin|
|00001ad0| 65 20 69 6e 20 57 65 62 | 73 74 65 72 22 20 6f 70 |e in Web|ster" op|
|00001ae0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 52 65 71 75 |tion of |the Requ|
|00001af0| 65 73 74 20 6d 65 6e 75 | 2e 20 20 54 68 65 20 66 |est menu|. The f|
|00001b00| 69 72 73 74 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 |irst def|inition |
|00001b10| 77 65 20 73 65 65 20 69 | 73 3a 0d 0d ff 00 15 10 |we see i|s:......|
|00001b20| 02 f7 73 6f 6d 65 74 68 | 69 6e 67 20 6d 61 74 65 |..someth|ing mate|
|00001b30| 72 69 61 6c 20 74 68 61 | 74 20 6d 61 79 20 62 65 |rial tha|t may be|
|00001b40| 20 70 65 72 63 65 69 76 | 65 64 20 62 79 20 74 68 | perceiv|ed by th|
|00001b50| 65 20 73 65 6e 73 65 73 | 0d 0d ff 00 15 10 00 f7 |e senses|........|
|00001b60| 46 6f 72 20 65 78 61 6d | 70 6c 65 20 61 20 64 69 |For exam|ple a di|
|00001b70| 63 74 69 6f 6e 61 72 79 | 20 69 73 20 61 6e 20 6f |ctionary| is an o|
|00001b80| 62 6a 65 63 74 2e 20 20 | 49 66 20 77 65 20 68 61 |bject. |If we ha|
|00001b90| 64 20 61 20 72 65 61 6c | 20 64 69 63 74 69 6f 6e |d a real| diction|
|00001ba0| 61 72 79 20 68 65 72 65 | 20 77 65 20 63 6f 75 6c |ary here| we coul|
|00001bb0| 64 20 73 65 65 20 69 74 | 20 61 6e 64 20 74 6f 75 |d see it| and tou|
|00001bc0| 63 68 20 69 74 2e 20 20 | 4f 6e 20 74 68 65 20 4e |ch it. |On the N|
|00001bd0| 65 58 54 20 77 65 20 68 | 61 76 65 20 61 20 64 69 |eXT we h|ave a di|
|00001be0| 63 74 69 6f 6e 61 72 79 | 20 22 4f 62 6a 65 63 74 |ctionary| "Object|
|00001bf0| 22 20 77 68 69 63 68 20 | 73 65 72 76 65 73 20 74 |" which |serves t|
|00001c00| 68 65 20 73 61 6d 65 20 | 70 75 72 70 6f 73 65 20 |he same |purpose |
|00001c10| 6f 66 20 61 20 70 61 70 | 65 72 20 64 69 63 74 69 |of a pap|er dicti|
|00001c20| 6f 6e 61 72 79 2e 20 20 | 42 75 74 20 69 74 20 69 |onary. |But it i|
|00001c30| 73 2c 20 69 6e 20 61 20 | 73 65 6e 73 65 20 61 6e |s, in a |sense an|
|00001c40| 20 ff 00 15 10 01 f7 61 | 62 73 74 72 61 63 74 69 | ......a|bstracti|
|00001c50| 6f 6e ff 00 15 10 00 f7 | 20 6f 66 20 61 20 74 72 |on......| of a tr|
|00001c60| 61 64 69 74 69 6f 6e 61 | 6c 20 64 69 63 74 69 6f |aditiona|l dictio|
|00001c70| 6e 61 72 79 2e 20 20 4f | 62 6a 65 63 74 20 6f 72 |nary. O|bject or|
|00001c80| 69 65 6e 74 65 64 20 70 | 72 6f 67 72 61 6d 6d 69 |iented p|rogrammi|
|00001c90| 6e 67 20 74 68 65 20 70 | 72 6f 63 65 73 73 20 6f |ng the p|rocess o|
|00001ca0| 66 20 63 72 65 61 74 69 | 6e 67 20 61 62 73 74 72 |f creati|ng abstr|
|00001cb0| 61 63 74 69 6f 6e 73 20 | 6f 66 20 74 68 65 73 65 |actions |of these|
|00001cc0| 20 74 68 69 6e 67 73 2e | 20 20 4f 4f 50 20 69 73 | things.| OOP is|
|00001cd0| 20 61 20 ff 00 15 10 01 | f7 70 72 6f 63 65 73 73 | a .....|.process|
|00001ce0| ff 00 15 10 00 f7 20 6f | 66 20 63 72 65 61 74 69 |...... o|f creati|
|00001cf0| 6e 67 20 63 6f 6d 70 75 | 74 65 72 20 62 61 73 65 |ng compu|ter base|
|00001d00| 64 20 61 6e 61 6c 6f 67 | 73 20 6f 66 20 72 65 61 |d analog|s of rea|
|00001d10| 6c 20 77 6f 72 64 20 6f | 62 6a 65 63 74 73 2e 20 |l word o|bjects. |
|00001d20| 20 49 74 20 69 73 20 61 | 20 70 72 6f 63 65 73 73 | It is a| process|
|00001d30| 20 74 68 61 74 20 69 73 | 20 64 69 66 66 65 72 65 | that is| differe|
|00001d40| 6e 74 20 66 72 6f 6d 20 | 74 68 65 20 74 72 61 64 |nt from |the trad|
|00001d50| 69 74 69 6f 6e 61 6c 20 | 70 72 6f 63 65 73 73 20 |itional |process |
|00001d60| 6f 66 20 73 6f 66 74 77 | 61 72 65 20 63 6f 6e 73 |of softw|are cons|
|00001d70| 74 72 75 63 74 69 6f 6e | 2c 20 62 65 63 61 75 73 |truction|, becaus|
|00001d80| 65 20 79 6f 75 20 61 6c | 77 61 79 73 20 73 74 61 |e you al|ways sta|
|00001d90| 72 74 20 79 6f 75 72 20 | 64 65 73 69 67 6e 20 77 |rt your |design w|
|00001da0| 69 74 68 20 74 68 65 20 | 68 69 67 68 65 73 74 20 |ith the |highest |
|00001db0| 6c 65 76 65 6c 20 6f 66 | 20 61 62 73 74 72 61 63 |level of| abstrac|
|00001dc0| 74 69 6f 6e 2e 20 20 59 | 6f 75 20 74 68 65 6e 20 |tion. Y|ou then |
|00001dd0| 70 61 72 74 69 74 69 6f | 6e 20 74 68 65 20 70 72 |partitio|n the pr|
|00001de0| 6f 62 6c 65 6d 20 69 6e | 74 6f 20 6c 6f 77 65 72 |oblem in|to lower|
|00001df0| 20 6c 65 76 65 6c 73 20 | 6f 66 20 61 62 73 74 72 | levels |of abstr|
|00001e00| 61 63 74 69 6f 6e 73 2e | 20 20 59 6f 75 20 77 69 |actions.| You wi|
|00001e10| 6c 6c 20 67 65 74 20 74 | 6f 20 61 20 70 6f 69 6e |ll get t|o a poin|
|00001e20| 74 20 77 68 65 72 65 20 | 74 68 65 69 72 20 61 72 |t where |their ar|
|00001e30| 65 20 61 6c 72 65 61 64 | 79 20 65 78 69 73 74 69 |e alread|y existi|
|00001e40| 6e 67 20 6f 62 6a 65 63 | 74 73 20 66 6f 72 20 79 |ng objec|ts for y|
|00001e50| 6f 75 20 74 6f 20 75 73 | 65 20 74 6f 20 6d 6f 64 |ou to us|e to mod|
|00001e60| 65 6c 20 79 6f 75 72 20 | 70 72 6f 62 6c 65 6d 20 |el your |problem |
|00001e70| 6f 72 20 74 68 65 20 70 | 72 6f 62 6c 65 6d 20 77 |or the p|roblem w|
|00001e80| 69 6c 6c 20 62 65 20 63 | 6c 65 61 72 20 65 6e 6f |ill be c|lear eno|
|00001e90| 75 67 68 20 74 68 61 74 | 20 79 6f 75 20 63 61 6e |ugh that| you can|
|00001ea0| 20 63 72 65 61 74 65 20 | 79 6f 75 72 20 6f 77 6e | create |your own|
|00001eb0| 20 6f 62 6a 65 63 74 73 | 2e 20 20 4f 6e 63 65 20 | objects|. Once |
|00001ec0| 79 6f 75 20 70 61 72 74 | 69 74 69 6f 6e 20 79 6f |you part|ition yo|
|00001ed0| 75 72 20 70 72 6f 62 6c | 65 6d 20 79 6f 75 20 63 |ur probl|em you c|
|00001ee0| 61 72 65 66 75 6c 6c 79 | 20 63 6f 6e 74 72 6f 6c |arefully| control|
|00001ef0| 20 68 6f 77 20 74 68 65 | 20 6f 62 6a 65 63 74 73 | how the| objects|
|00001f00| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 65 2e 20 20 54 | communi|cate. T|
|00001f10| 68 69 73 20 68 65 6c 70 | 73 20 79 6f 75 20 70 72 |his help|s you pr|
|00001f20| 65 73 65 72 76 65 20 74 | 68 69 73 20 64 65 63 6f |eserve t|his deco|
|00001f30| 6d 70 6f 73 69 74 69 6f | 6e 2e 0d 02 09 ff 00 15 |mpositio|n.......|
|00001f40| 12 01 f7 42 65 6e 65 66 | 69 74 73 20 6f 66 20 4f |...Benef|its of O|
|00001f50| 4f 50 0d 0d ff 00 15 10 | 00 f7 57 68 61 74 20 61 |OP......|..What a|
|00001f60| 72 65 20 73 6f 6d 65 20 | 6f 66 20 74 68 65 20 61 |re some |of the a|
|00001f70| 64 76 61 6e 74 61 67 65 | 73 20 6f 66 20 4f 62 6a |dvantage|s of Obj|
|00001f80| 65 63 74 20 4f 72 69 65 | 6e 74 65 64 20 50 72 6f |ect Orie|nted Pro|
|00001f90| 67 72 61 6d 6d 69 6e 67 | 3f 20 20 4f 66 20 6f 66 |gramming|? Of of|
|00001fa0| 20 74 68 65 20 6d 6f 73 | 74 20 69 6d 70 6f 72 74 | the mos|t import|
|00001fb0| 61 6e 74 20 69 73 20 74 | 68 61 74 20 69 66 20 79 |ant is t|hat if y|
|00001fc0| 6f 75 20 64 6f 20 70 61 | 72 74 69 74 69 6f 6e 20 |ou do pa|rtition |
|00001fd0| 79 6f 75 72 20 70 72 6f | 62 6c 65 6d 20 63 6f 72 |your pro|blem cor|
|00001fe0| 72 65 63 74 6c 79 20 79 | 6f 75 20 63 61 6e 20 72 |rectly y|ou can r|
|00001ff0| 65 2d 75 73 65 20 6f 74 | 68 65 72 20 6f 62 6a 65 |e-use ot|her obje|
|00002000| 63 74 73 2e 20 54 68 65 | 73 65 20 63 61 6e 20 62 |cts. The|se can b|
|00002010| 65 20 6f 62 6a 65 63 74 | 73 20 74 68 61 74 20 79 |e object|s that y|
|00002020| 6f 75 20 68 61 76 65 20 | 64 65 76 65 6c 6f 70 65 |ou have |develope|
|00002030| 64 20 70 72 65 76 69 6f | 75 73 6c 79 2c 20 79 6f |d previo|usly, yo|
|00002040| 75 72 20 63 6f 6c 6c 65 | 67 65 73 20 68 61 76 65 |ur colle|ges have|
|00002050| 20 64 65 76 65 6c 6f 70 | 65 64 2c 20 74 68 65 79 | develop|ed, they|
|00002060| 20 63 61 6e 20 62 65 20 | 20 70 75 62 6c 69 63 20 | can be | public |
|00002070| 64 6f 6d 61 69 6e 20 6f | 62 6a 65 63 74 73 20 61 |domain o|bjects a|
|00002080| 76 61 69 6c 61 62 6c 65 | 20 76 69 61 20 74 68 65 |vailable| via the|
|00002090| 20 49 6e 74 65 72 6e 65 | 74 2c 20 74 68 65 79 20 | Interne|t, they |
|000020a0| 63 61 6e 20 62 65 20 6f | 62 6a 65 63 74 73 20 70 |can be o|bjects p|
|000020b0| 72 6f 76 69 64 65 64 20 | 62 79 20 61 20 74 68 69 |rovided |by a thi|
|000020c0| 72 64 20 70 61 72 74 79 | 20 73 6f 66 74 77 61 72 |rd party| softwar|
|000020d0| 65 20 64 65 76 65 6c 6f | 70 65 72 2c 20 6f 72 20 |e develo|per, or |
|000020e0| 74 68 65 79 20 63 61 6e | 20 62 65 20 6f 62 6a 65 |they can| be obje|
|000020f0| 63 74 73 20 74 68 61 74 | 20 61 72 65 20 70 72 6f |cts that| are pro|
|00002100| 76 69 64 65 64 20 61 73 | 20 70 61 72 74 20 6f 66 |vided as| part of|
|00002110| 20 74 68 65 20 6f 70 65 | 72 61 74 69 6e 67 20 73 | the ope|rating s|
|00002120| 79 73 74 65 6d 20 6f 6e | 20 74 68 65 20 63 6f 6d |ystem on| the com|
|00002130| 70 75 74 65 72 20 73 79 | 73 74 65 6d 20 79 6f 75 |puter sy|stem you|
|00002140| 20 75 73 65 2e 0d 02 ca | 0d 41 6e 6f 74 68 65 72 | use....|.Another|
|00002150| 20 61 64 76 61 6e 74 61 | 67 65 20 69 73 20 74 68 | advanta|ge is th|
|00002160| 61 74 20 79 6f 75 20 6d | 69 6e 69 6d 69 7a 65 20 |at you m|inimize |
|00002170| 74 68 65 20 61 6d 6f 75 | 6e 74 20 6f 66 20 77 6f |the amou|nt of wo|
|00002180| 72 6b 20 74 68 61 74 20 | 68 61 73 20 74 6f 20 62 |rk that |has to b|
|00002190| 65 20 72 65 2d 64 6f 6e | 65 20 69 66 20 79 6f 75 |e re-don|e if you|
|000021a0| 72 20 70 61 72 74 69 74 | 69 6f 6e 69 6e 67 20 64 |r partit|ioning d|
|000021b0| 6f 65 73 20 6e 6f 20 77 | 6f 72 6b 20 6f 75 74 2e |oes no w|ork out.|
|000021c0| 0d 54 68 69 73 20 69 73 | 20 62 65 63 61 75 73 65 |.This is| because|
|000021d0| 20 70 65 6f 70 6c 65 20 | 6f 66 74 65 6e 20 73 70 | people |often sp|
|000021e0| 65 6e 64 20 61 20 67 72 | 65 61 74 20 64 65 61 6c |end a gr|eat deal|
|000021f0| 20 6f 66 20 74 69 6d 65 | 20 64 6f 69 6e 67 20 6c | of time| doing l|
|00002200| 6f 77 20 6c 65 76 65 6c | 20 64 65 74 61 69 6c 65 |ow level| detaile|
|00002210| 64 20 77 6f 72 6b 20 74 | 68 61 74 20 6d 75 73 74 |d work t|hat must|
|00002220| 20 62 65 20 74 68 72 6f | 77 6e 20 6f 75 74 20 61 | be thro|wn out a|
|00002230| 66 74 65 72 20 74 68 65 | 79 20 67 65 74 20 74 6f |fter the|y get to|
|00002240| 20 61 20 68 69 67 68 20 | 6c 65 76 65 6c 20 61 6e | a high |level an|
|00002250| 64 20 72 65 61 6c 69 7a | 65 20 74 68 65 79 20 68 |d realiz|e they h|
|00002260| 61 76 65 20 74 6f 20 72 | 65 2d 70 61 72 74 69 74 |ave to r|e-partit|
|00002270| 69 6f 6e 20 74 68 65 69 | 72 20 6d 6f 64 65 6c 2e |ion thei|r model.|
|00002280| 0d 0d 4f 6e 65 20 6f 66 | 20 74 68 65 20 68 69 64 |..One of| the hid|
|00002290| 64 65 6e 20 62 65 6e 65 | 66 69 74 73 20 6f 66 20 |den bene|fits of |
|000022a0| 74 68 65 20 63 6c 65 61 | 72 20 70 61 72 74 69 74 |the clea|r partit|
|000022b0| 69 6f 6e 69 6e 67 20 6f | 66 20 74 68 65 20 70 72 |ioning o|f the pr|
|000022c0| 6f 62 6c 65 6d 20 69 6e | 74 6f 20 6f 62 6a 65 63 |oblem in|to objec|
|000022d0| 74 73 20 69 73 20 74 68 | 61 74 20 74 68 65 20 73 |ts is th|at the s|
|000022e0| 74 72 75 63 74 75 72 65 | 20 6f 66 20 74 68 65 20 |tructure| of the |
|000022f0| 63 6f 64 65 20 74 65 6e | 64 73 20 74 6f 20 62 65 |code ten|ds to be|
|00002300| 20 6d 75 63 68 20 6d 6f | 72 65 20 73 65 6c 66 20 | much mo|re self |
|00002310| 64 6f 63 75 6d 65 6e 74 | 69 6e 67 2e 20 20 49 66 |document|ing. If|
|00002320| 20 61 6c 6c 20 74 68 65 | 20 63 6f 64 65 20 74 6f | all the| code to|
|00002330| 20 6d 61 6e 69 70 75 6c | 61 74 65 20 61 6e 20 6f | manipul|ate an o|
|00002340| 62 6a 65 63 74 20 69 73 | 20 74 6f 67 65 74 68 65 |bject is| togethe|
|00002350| 72 2c 20 79 6f 75 20 6b | 6e 6f 77 20 ff 00 15 10 |r, you k|now ....|
|00002360| 01 f7 77 68 79 ff 00 15 | 10 00 f7 20 74 68 61 74 |..why...|... that|
|00002370| 20 63 6f 64 65 20 69 73 | 20 74 68 65 72 65 20 61 | code is| there a|
|00002380| 6e 64 20 77 68 61 74 20 | 69 74 73 20 66 75 6e 63 |nd what |its func|
|00002390| 74 69 6f 6e 20 69 73 2e | 20 20 53 6f 20 69 66 20 |tion is.| So if |
|000023a0| 79 6f 75 20 61 72 65 20 | 6c 6f 6f 6b 69 6e 67 20 |you are |looking |
|000023b0| 61 74 20 6f 74 68 65 72 | 20 70 65 6f 70 6c 65 73 |at other| peoples|
|000023c0| 20 6f 62 6a 65 63 74 73 | 2c 20 79 6f 75 20 63 61 | objects|, you ca|
|000023d0| 6e 20 65 78 70 65 63 74 | 20 74 6f 20 73 70 65 6e |n expect| to spen|
|000023e0| 64 20 61 20 6c 6f 74 20 | 6c 65 73 73 20 74 69 6d |d a lot |less tim|
|000023f0| 65 20 6c 6f 6f 6b 69 6e | 67 20 74 68 72 6f 75 67 |e lookin|g throug|
|00002400| 68 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 2e |h docume|ntation.|
|00002410| 0d 0d 04 39 41 6e 6f 74 | 68 65 72 20 62 69 67 20 |...9Anot|her big |
|00002420| 77 69 6e 20 69 73 20 61 | 20 76 65 72 79 20 63 72 |win is a| very cr|
|00002430| 69 73 70 20 64 69 76 69 | 73 69 6f 6e 20 6f 66 20 |isp divi|sion of |
|00002440| 75 73 65 72 20 69 6e 74 | 65 72 66 61 63 65 20 6f |user int|erface o|
|00002450| 62 6a 65 63 74 73 20 66 | 6f 72 6d 20 74 68 65 20 |bjects f|orm the |
|00002460| 63 6f 72 65 20 72 6f 75 | 74 69 6e 65 20 6f 62 6a |core rou|tine obj|
|00002470| 65 63 74 73 2e 20 20 41 | 73 20 77 65 20 77 69 6c |ects. A|s we wil|
|00002480| 6c 20 73 65 65 20 6c 61 | 74 65 72 2c 20 74 68 69 |l see la|ter, thi|
|00002490| 73 20 69 73 20 76 65 72 | 79 20 65 76 69 64 65 6e |s is ver|y eviden|
|000024a0| 74 20 77 69 74 68 20 4e | 65 78 74 53 74 65 70 2c |t with N|extStep,|
|000024b0| 20 77 68 65 72 65 20 61 | 6c 6c 20 74 68 65 20 75 | where a|ll the u|
|000024c0| 73 65 72 20 69 6e 74 65 | 72 66 61 63 65 20 72 6f |ser inte|rface ro|
|000024d0| 75 74 69 6e 65 73 20 61 | 72 65 20 61 76 61 69 6c |utines a|re avail|
|000024e0| 61 62 6c 65 20 6f 6e 20 | 61 20 70 61 6c 6c 65 74 |able on |a pallet|
|000024f0| 2e 0d 0d 4d 61 6e 79 20 | 70 65 6f 70 6c 65 20 61 |...Many |people a|
|00002500| 73 73 75 6d 65 20 74 68 | 61 74 20 74 68 65 20 6f |ssume th|at the o|
|00002510| 62 6a 65 63 74 73 20 69 | 6e 20 61 20 73 69 6e 67 |bjects i|n a sing|
|00002520| 6c 65 20 70 72 6f 67 72 | 61 6d 20 6d 75 73 74 20 |le progr|am must |
|00002530| 61 6c 6c 20 62 65 20 63 | 72 65 61 74 65 64 20 77 |all be c|reated w|
|00002540| 69 74 68 20 74 68 65 20 | 73 61 6d 65 20 6c 61 6e |ith the |same lan|
|00002550| 67 75 61 67 65 2e 20 20 | 42 75 74 20 61 73 20 77 |guage. |But as w|
|00002560| 65 20 77 69 6c 6c 20 73 | 65 65 20 6c 61 74 65 72 |e will s|ee later|
|00002570| 20 61 6c 6c 20 6f 62 6a | 65 63 74 73 20 63 6f 6d | all obj|ects com|
|00002580| 6d 75 6e 69 63 61 74 65 | 20 69 6e 20 61 20 6c 61 |municate| in a la|
|00002590| 6e 67 75 61 67 65 20 69 | 6e 64 65 70 65 6e 64 65 |nguage i|ndepende|
|000025a0| 6e 74 20 6d 61 6e 6e 65 | 72 2e 20 20 54 68 69 73 |nt manne|r. This|
|000025b0| 20 6d 65 61 6e 73 20 74 | 68 61 74 20 79 6f 75 20 | means t|hat you |
|000025c0| 63 61 6e 20 65 61 73 69 | 6c 79 20 6d 69 78 20 6f |can easi|ly mix o|
|000025d0| 62 6a 65 63 74 73 20 77 | 72 69 74 74 65 6e 20 69 |bjects w|ritten i|
|000025e0| 6e 20 43 2c 20 4c 49 53 | 50 2c 20 46 4f 52 54 52 |n C, LIS|P, FORTR|
|000025f0| 41 4e 20 61 6e 64 20 44 | 53 50 20 61 73 73 65 6d |AN and D|SP assem|
|00002600| 62 6c 79 20 6c 61 6e 67 | 75 61 67 65 20 61 6c 6c |bly lang|uage all|
|00002610| 20 74 6f 67 65 74 68 65 | 72 20 69 6e 20 74 68 65 | togethe|r in the|
|00002620| 20 73 61 6d 65 20 62 69 | 6e 61 72 79 20 66 69 6c | same bi|nary fil|
|00002630| 65 2e 20 20 53 6f 20 69 | 66 20 79 6f 75 20 68 61 |e. So i|f you ha|
|00002640| 76 65 20 61 20 70 72 6f | 62 6c 65 6d 20 74 68 61 |ve a pro|blem tha|
|00002650| 74 20 72 65 71 75 69 72 | 65 73 20 61 20 67 72 65 |t requir|es a gre|
|00002660| 61 74 20 64 65 61 6c 20 | 6f 66 20 6e 75 6d 65 72 |at deal |of numer|
|00002670| 69 63 61 6c 20 61 6e 61 | 6c 79 73 69 73 2c 20 79 |ical ana|lysis, y|
|00002680| 6f 75 20 63 61 6e 20 75 | 73 65 20 61 20 6c 61 6e |ou can u|se a lan|
|00002690| 67 75 61 67 65 20 74 68 | 61 74 20 63 61 6e 20 65 |guage th|at can e|
|000026a0| 61 73 69 6c 79 20 62 65 | 20 76 65 63 74 6f 72 69 |asily be| vectori|
|000026b0| 7a 65 64 20 6c 69 6b 65 | 20 46 4f 52 54 52 41 4e |zed like| FORTRAN|
|000026c0| 2e 20 20 49 66 20 79 6f | 75 20 68 61 76 65 20 61 |. If yo|u have a|
|000026d0| 20 70 72 6f 62 6c 65 6d | 20 74 68 61 74 20 69 73 | problem| that is|
|000026e0| 20 73 79 6d 62 6f 6c 69 | 63 20 69 6e 20 6e 61 74 | symboli|c in nat|
|000026f0| 75 72 65 2c 20 4c 49 53 | 50 20 6d 69 67 68 74 20 |ure, LIS|P might |
|00002700| 62 65 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 63 |be the c|orrect c|
|00002710| 68 6f 69 63 65 20 66 6f | 72 20 79 6f 75 2e 20 20 |hoice fo|r you. |
|00002720| 49 66 20 79 6f 75 20 68 | 61 76 65 20 61 20 70 72 |If you h|ave a pr|
|00002730| 6f 62 6c 65 6d 73 20 74 | 68 61 74 20 72 65 71 75 |oblems t|hat requ|
|00002740| 69 72 65 73 20 64 61 74 | 61 20 61 63 71 75 69 73 |ires dat|a acquis|
|00002750| 69 74 69 6f 6e 20 61 6e | 64 20 61 6e 61 6c 79 73 |ition an|d analys|
|00002760| 69 73 2c 20 77 65 20 69 | 6e 63 6c 75 64 65 20 61 |is, we i|nclude a|
|00002770| 20 6c 61 72 67 65 20 6c | 69 62 72 61 72 79 20 6f | large l|ibrary o|
|00002780| 66 20 6f 62 6a 65 63 74 | 73 20 74 68 61 74 20 61 |f object|s that a|
|00002790| 72 65 20 77 72 69 74 74 | 65 6e 20 69 6e 20 44 53 |re writt|en in DS|
|000027a0| 50 20 61 73 73 65 6d 62 | 6c 79 20 6c 61 6e 67 75 |P assemb|ly langu|
|000027b0| 61 67 65 2e 20 20 54 68 | 65 20 70 6f 69 6e 74 20 |age. Th|e point |
|000027c0| 69 73 20 74 68 61 74 20 | 79 6f 75 20 73 68 6f 75 |is that |you shou|
|000027d0| 6c 64 20 61 6c 77 61 79 | 73 20 73 6f 6c 76 65 20 |ld alway|s solve |
|000027e0| 61 20 70 72 6f 62 6c 65 | 6d 20 75 73 69 6e 67 20 |a proble|m using |
|000027f0| 74 68 65 20 6c 61 6e 67 | 75 61 67 65 20 74 68 61 |the lang|uage tha|
|00002800| 74 20 6d 6f 73 74 20 65 | 66 66 69 63 69 65 6e 74 |t most e|fficient|
|00002810| 6c 79 20 73 6f 6c 76 65 | 73 20 74 68 65 20 70 72 |ly solve|s the pr|
|00002820| 6f 62 6c 65 6d 2c 20 61 | 6e 64 20 4f 4f 50 20 61 |oblem, a|nd OOP a|
|00002830| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 65 61 73 |llows yo|u to eas|
|00002840| 69 6c 79 20 64 6f 20 74 | 68 61 74 2e 0d 03 5f ff |ily do t|hat..._.|
|00002850| 00 15 12 01 f7 46 6f 75 | 72 20 4f 4f 50 20 54 65 |.....Fou|r OOP Te|
|00002860| 63 68 6e 69 71 75 65 73 | 0d 0d ff 00 15 10 00 f7 |chniques|........|
|00002870| 57 65 20 61 72 65 20 6e | 6f 77 20 67 6f 69 6e 67 |We are n|ow going|
|00002880| 20 74 6f 20 73 74 61 72 | 74 20 63 6f 76 65 72 69 | to star|t coveri|
|00002890| 6e 67 20 74 68 65 20 66 | 6f 75 72 20 62 61 73 69 |ng the f|our basi|
|000028a0| 63 20 74 65 63 68 6e 69 | 71 75 65 73 20 75 73 65 |c techni|ques use|
|000028b0| 64 20 69 6e 20 4f 62 6a | 65 63 74 20 4f 72 69 65 |d in Obj|ect Orie|
|000028c0| 6e 74 65 64 20 50 72 6f | 67 72 61 6d 6d 69 6e 67 |nted Pro|gramming|
|000028d0| 20 74 68 61 74 20 6d 61 | 6b 65 20 74 68 65 73 65 | that ma|ke these|
|000028e0| 20 62 65 6e 65 66 69 74 | 73 20 70 6f 73 73 69 62 | benefit|s possib|
|000028f0| 6c 65 2e 0d 0d ff 00 15 | 12 01 f7 45 6e 63 61 70 |le......|...Encap|
|00002900| 73 75 6c 61 74 69 6f 6e | ff 00 15 10 00 f7 0d 0d |sulation|........|
|00002910| 45 6e 63 61 70 73 75 6c | 61 74 69 6f 6e 20 68 61 |Encapsul|ation ha|
|00002920| 73 20 76 61 72 69 6f 75 | 73 20 6e 61 6d 65 73 2e |s variou|s names.|
|00002930| 20 20 43 6f 6d 70 75 74 | 65 72 20 73 63 69 65 6e | Comput|er scien|
|00002940| 74 69 73 74 73 20 6f 66 | 74 65 6e 20 72 65 66 65 |tists of|ten refe|
|00002950| 72 20 74 6f 20 69 74 20 | 61 73 20 69 6e 66 6f 72 |r to it |as infor|
|00002960| 6d 61 74 69 6f 6e 20 68 | 69 64 69 6e 67 20 6f 72 |mation h|iding or|
|00002970| 20 64 61 74 61 20 61 62 | 73 74 72 61 63 74 69 6f | data ab|stractio|
|00002980| 6e 2e 20 20 20 42 75 74 | 20 69 6e 20 67 65 6e 65 |n. But| in gene|
|00002990| 72 61 6c 20 61 6c 6c 20 | 74 68 65 73 65 20 74 65 |ral all |these te|
|000029a0| 72 6d 73 20 6d 65 61 6e | 20 67 72 6f 75 70 69 6e |rms mean| groupin|
|000029b0| 67 20 79 6f 75 72 20 64 | 61 74 61 20 61 6e 64 20 |g your d|ata and |
|000029c0| 74 68 65 20 70 72 6f 63 | 65 64 75 72 65 73 20 74 |the proc|edures t|
|000029d0| 6f 20 61 63 63 65 73 73 | 20 74 68 61 74 20 64 61 |o access| that da|
|000029e0| 74 61 20 74 6f 67 65 74 | 68 65 72 20 69 6e 20 74 |ta toget|her in t|
|000029f0| 68 65 20 73 61 6d 65 20 | 75 6e 69 74 2e 20 20 57 |he same |unit. W|
|00002a00| 65 20 63 61 6c 6c 20 74 | 68 69 73 20 75 6e 69 74 |e call t|his unit|
|00002a10| 20 61 6e 20 6f 62 6a 65 | 63 74 2e 20 20 57 65 20 | an obje|ct. We |
|00002a20| 61 6c 73 6f 20 73 65 74 | 20 64 6f 77 6e 20 73 6f |also set| down so|
|00002a30| 6d 65 20 72 75 6c 65 73 | 20 61 62 6f 75 74 20 68 |me rules| about h|
|00002a40| 6f 77 20 79 6f 75 20 61 | 63 63 65 73 73 20 74 68 |ow you a|ccess th|
|00002a50| 65 20 64 61 74 61 20 69 | 6e 20 74 68 65 20 6f 62 |e data i|n the ob|
|00002a60| 6a 65 63 74 2e 20 20 4f | 6e 65 20 72 75 6c 65 20 |ject. O|ne rule |
|00002a70| 69 73 20 74 68 61 74 20 | 69 66 20 79 6f 75 20 64 |is that |if you d|
|00002a80| 65 76 65 6c 6f 70 20 61 | 6e 64 20 6f 62 6a 65 63 |evelop a|nd objec|
|00002a90| 74 2c 20 79 6f 75 20 ff | 00 15 10 01 f7 6f 6e 6c |t, you .|.....onl|
|00002aa0| 79 ff 00 15 10 00 f7 20 | 6c 65 74 20 70 65 6f 70 |y...... |let peop|
|00002ab0| 6c 65 20 73 65 65 20 6f | 72 20 63 68 61 6e 67 65 |le see o|r change|
|00002ac0| 20 79 6f 75 72 20 69 6e | 74 65 72 6e 61 6c 20 64 | your in|ternal d|
|00002ad0| 61 74 61 20 75 73 69 6e | 67 20 74 68 65 20 70 72 |ata usin|g the pr|
|00002ae0| 6f 63 65 64 75 72 65 73 | 20 79 6f 75 20 70 72 6f |ocedures| you pro|
|00002af0| 76 69 64 65 20 77 69 74 | 68 20 74 68 61 74 20 6f |vide wit|h that o|
|00002b00| 62 6a 65 63 74 2e 20 20 | 57 68 61 74 20 74 68 61 |bject. |What tha|
|00002b10| 74 20 6d 65 61 6e 73 20 | 69 73 20 74 68 61 74 20 |t means |is that |
|00002b20| 74 68 65 20 63 72 65 61 | 74 6f 72 20 68 61 73 20 |the crea|tor has |
|00002b30| 61 6c 6c 20 63 6f 6e 74 | 72 6f 6c 20 6f 66 20 68 |all cont|rol of h|
|00002b40| 6f 77 20 6f 74 68 65 72 | 73 20 61 63 63 65 73 73 |ow other|s access|
|00002b50| 20 74 68 69 73 20 6f 62 | 6a 65 63 74 20 61 6e 64 | this ob|ject and|
|00002b60| 20 74 68 65 72 65 66 6f | 72 65 20 74 68 65 20 63 | therefo|re the c|
|00002b70| 72 65 61 74 65 72 20 69 | 73 20 72 65 73 70 6f 6e |reater i|s respon|
|00002b80| 73 69 62 6c 65 20 66 6f | 72 20 74 68 65 69 72 20 |sible fo|r their |
|00002b90| 63 6f 6d 70 6c 65 74 65 | 6e 65 73 73 20 61 6e 64 |complete|ness and|
|00002ba0| 20 63 6f 72 72 65 63 74 | 6e 65 73 73 2e 0d 02 7a | correct|ness...z|
|00002bb0| 0d 57 68 65 6e 20 79 6f | 75 20 63 72 65 61 74 65 |.When yo|u create|
|00002bc0| 20 61 20 6d 65 6e 74 61 | 6c 20 69 6d 61 67 65 20 | a menta|l image |
|00002bd0| 6f 66 20 74 68 65 20 6f | 62 6a 65 63 74 73 2c 20 |of the o|bjects, |
|00002be0| 79 6f 75 20 6d 69 67 68 | 74 20 66 69 6e 64 20 69 |you migh|t find i|
|00002bf0| 74 20 68 65 6c 70 66 75 | 6c 20 74 6f 20 63 72 65 |t helpfu|l to cre|
|00002c00| 61 74 65 20 61 20 6d 65 | 6e 74 61 6c 20 69 6d 61 |ate a me|ntal ima|
|00002c10| 67 65 20 6f 66 20 61 20 | 62 6f 78 20 77 69 74 68 |ge of a |box with|
|00002c20| 20 61 20 74 68 69 63 6b | 20 62 72 69 63 6b 20 77 | a thick| brick w|
|00002c30| 61 6c 6c 20 61 72 6f 75 | 6e 64 20 69 74 2e 20 20 |all arou|nd it. |
|00002c40| 49 6e 73 69 64 65 20 74 | 68 65 20 62 6f 78 20 77 |Inside t|he box w|
|00002c50| 65 20 68 61 76 65 20 74 | 68 65 20 64 61 74 61 20 |e have t|he data |
|00002c60| 73 74 72 75 63 74 75 72 | 65 73 20 73 75 63 68 20 |structur|es such |
|00002c70| 61 73 20 69 6e 74 65 67 | 65 72 73 2c 20 66 6c 6f |as integ|ers, flo|
|00002c80| 61 74 69 6e 67 20 70 6f | 69 6e 74 20 6e 75 6d 62 |ating po|int numb|
|00002c90| 65 72 73 2c 20 73 74 72 | 69 6e 67 73 2c 20 61 6e |ers, str|ings, an|
|00002ca0| 64 20 6f 74 68 65 72 20 | 6d 6f 72 65 20 63 6f 6d |d other |more com|
|00002cb0| 70 6c 69 63 61 74 65 64 | 20 73 74 72 75 63 74 75 |plicated| structu|
|00002cc0| 72 65 73 20 73 75 63 68 | 20 61 73 20 6c 69 6e 6b |res such| as link|
|00002cd0| 65 64 20 6c 69 73 74 73 | 2e 20 20 57 65 20 63 61 |ed lists|. We ca|
|00002ce0| 6c 6c 20 74 68 65 73 65 | 20 74 68 65 20 ff 00 15 |ll these| the ...|
|00002cf0| 10 01 f7 69 6e 73 74 61 | 6e 63 65 20 76 61 72 69 |...insta|nce vari|
|00002d00| 61 62 6c 65 73 ff 00 15 | 10 00 f7 2e 20 20 57 65 |ables...|.... We|
|00002d10| 20 75 73 65 20 74 68 65 | 20 77 6f 72 64 20 ff 00 | use the| word ..|
|00002d20| 15 10 01 f7 69 6e 73 74 | 61 6e 63 65 ff 00 15 10 |....inst|ance....|
|00002d30| 00 f7 20 62 65 63 61 75 | 73 65 20 74 68 65 72 65 |.. becau|se there|
|00002d40| 20 69 73 20 61 20 64 69 | 66 66 65 72 65 6e 74 20 | is a di|fferent |
|00002d50| 67 72 6f 75 70 20 6f 66 | 20 74 68 65 73 65 20 76 |group of| these v|
|00002d60| 61 72 69 61 62 6c 65 73 | 20 61 73 73 6f 63 69 61 |ariables| associa|
|00002d70| 74 65 64 20 77 69 74 68 | 20 65 61 63 68 20 ff 00 |ted with| each ..|
|00002d80| 15 10 01 f7 69 6e 73 74 | 61 6e 63 65 ff 00 15 10 |....inst|ance....|
|00002d90| 00 f7 20 6f 66 20 74 68 | 65 20 6f 62 6a 65 63 74 |.. of th|e object|
|00002da0| 2e 20 20 54 68 65 20 6f | 6e 6c 79 20 77 61 79 20 |. The o|nly way |
|00002db0| 74 6f 20 72 65 61 64 20 | 6f 72 20 77 72 69 74 65 |to read |or write|
|00002dc0| 20 74 68 65 20 76 61 6c | 75 65 73 20 6f 66 20 74 | the val|ues of t|
|00002dd0| 68 65 73 65 20 76 61 72 | 69 61 62 6c 65 73 20 69 |hese var|iables i|
|00002de0| 73 20 74 6f 20 75 73 65 | 20 6f 6e 65 20 6f 66 20 |s to use| one of |
|00002df0| 74 68 65 20 ff 00 15 10 | 01 f7 61 63 63 65 73 73 |the ....|..access|
|00002e00| 20 6d 65 74 68 6f 64 73 | ff 00 15 10 00 f7 20 70 | methods|...... p|
|00002e10| 72 6f 76 69 64 65 64 20 | 77 69 74 68 20 65 61 63 |rovided |with eac|
|00002e20| 68 20 6f 62 6a 65 63 74 | 2e 0d 00 18 04 00 02 00 |h object|........|
|00002e30| 00 38 04 00 02 06 00 38 | 04 00 0c ca 00 2a 04 00 |.8.....8|.....*..|
|00002e40| 0c f2 00 2a 00 00 00 06 | 00 08 00 00 00 01 04 66 |...*....|.......f|
|00002e50| ff 00 15 12 01 f7 42 65 | 6e 65 66 69 74 73 20 6f |......Be|nefits o|
|00002e60| 66 20 45 6e 63 61 70 73 | 75 6c 61 74 69 6f 6e 0d |f Encaps|ulation.|
|00002e70| 0d ff 00 15 10 00 f7 4f | 6e 63 65 20 79 6f 75 20 |.......O|nce you |
|00002e80| 73 74 61 72 74 20 65 6e | 63 61 70 73 75 6c 61 74 |start en|capsulat|
|00002e90| 69 6e 67 20 79 6f 75 72 | 20 64 61 74 61 20 79 6f |ing your| data yo|
|00002ea0| 75 20 77 69 6c 6c 20 66 | 69 6e 64 20 74 68 61 74 |u will f|ind that|
|00002eb0| 20 79 6f 75 20 63 61 6e | 20 71 75 69 63 6b 6c 79 | you can| quickly|
|00002ec0| 20 63 6f 6e 74 72 6f 6c | 20 74 68 65 20 64 61 74 | control| the dat|
|00002ed0| 61 20 74 79 70 65 73 20 | 6f 66 20 74 68 61 74 20 |a types |of that |
|00002ee0| 61 72 65 20 70 61 73 73 | 65 64 20 74 6f 20 79 6f |are pass|ed to yo|
|00002ef0| 75 72 20 6f 62 6a 65 63 | 74 73 2e 20 20 53 69 6e |ur objec|ts. Sin|
|00002f00| 63 65 20 74 68 65 20 4e | 65 78 74 53 74 65 70 20 |ce the N|extStep |
|00002f10| 4f 62 6a 65 63 74 69 76 | 65 20 43 20 63 6f 6d 70 |Objectiv|e C comp|
|00002f20| 69 6c 65 72 20 68 61 73 | 20 74 79 70 65 20 63 68 |iler has| type ch|
|00002f30| 65 63 6b 69 6e 67 20 62 | 75 69 6c 74 20 69 6e 74 |ecking b|uilt int|
|00002f40| 6f 20 69 74 73 20 6d 65 | 73 73 61 67 69 6e 67 20 |o its me|ssaging |
|00002f50| 79 6f 75 20 77 69 6c 6c | 20 61 6c 77 61 79 73 20 |you will| always |
|00002f60| 62 65 20 61 62 6c 65 20 | 74 6f 20 63 61 74 63 68 |be able |to catch|
|00002f70| 20 64 61 74 61 20 74 79 | 70 65 20 6d 69 73 6d 61 | data ty|pe misma|
|00002f80| 74 63 68 65 73 20 61 74 | 20 65 61 72 6c 79 20 69 |tches at| early i|
|00002f90| 6e 20 74 68 65 20 64 65 | 73 69 67 6e 20 70 72 6f |n the de|sign pro|
|00002fa0| 63 65 73 73 20 77 68 65 | 72 65 20 69 74 20 69 73 |cess whe|re it is|
|00002fb0| 20 6d 75 63 68 20 65 61 | 73 69 65 72 20 74 6f 20 | much ea|sier to |
|00002fc0| 69 73 6f 6c 61 74 65 2e | 20 20 54 68 69 73 20 77 |isolate.| This w|
|00002fd0| 69 6c 6c 20 64 72 61 6d | 61 74 69 63 61 6c 6c 79 |ill dram|atically|
|00002fe0| 20 63 75 74 20 64 6f 77 | 6e 20 79 6f 75 72 20 74 | cut dow|n your t|
|00002ff0| 69 6d 65 20 73 70 65 6e | 74 20 77 69 74 68 20 74 |ime spen|t with t|
|00003000| 68 65 20 64 65 62 75 67 | 67 65 72 20 61 6e 64 20 |he debug|ger and |
|00003010| 67 72 65 61 74 6c 79 20 | 65 6e 68 61 6e 63 65 20 |greatly |enhance |
|00003020| 79 6f 75 20 70 72 6f 67 | 72 61 6d 6d 73 20 66 69 |you prog|ramms fi|
|00003030| 6e 61 6c 20 72 65 6c 69 | 61 62 69 6c 69 74 79 2e |nal reli|ability.|
|00003040| 0d 0d 4f 6e 63 65 20 79 | 6f 75 20 64 65 66 69 6e |..Once y|ou defin|
|00003050| 65 20 74 68 65 20 73 65 | 74 20 6f 66 20 6d 65 73 |e the se|t of mes|
|00003060| 73 61 67 65 73 20 74 68 | 61 74 20 61 6e 20 6f 62 |sages th|at an ob|
|00003070| 6a 65 63 74 20 63 61 6e | 20 72 65 63 65 69 76 65 |ject can| receive|
|00003080| 20 79 6f 75 20 61 72 65 | 20 74 68 65 6e 20 66 69 | you are| then fi|
|00003090| 78 69 6e 67 20 74 68 65 | 20 69 6e 74 65 72 66 61 |xing the| interfa|
|000030a0| 63 65 20 74 6f 20 74 68 | 61 74 20 6f 62 6a 65 63 |ce to th|at objec|
|000030b0| 74 2e 20 20 49 66 20 61 | 74 20 61 20 6c 61 74 65 |t. If a|t a late|
|000030c0| 72 20 74 69 6d 65 20 79 | 6f 75 20 66 69 6e 64 20 |r time y|ou find |
|000030d0| 61 6e 6f 74 68 65 72 20 | 6d 6f 72 65 20 65 66 66 |another |more eff|
|000030e0| 69 63 69 65 6e 74 20 64 | 61 74 61 20 73 74 72 75 |icient d|ata stru|
|000030f0| 63 74 75 72 65 20 79 6f | 75 20 77 6f 75 6c 64 20 |cture yo|u would |
|00003100| 6c 69 6b 65 20 74 6f 20 | 75 73 65 20 69 6e 73 69 |like to |use insi|
|00003110| 64 65 20 74 68 65 20 6f | 62 6a 65 63 74 20 79 6f |de the o|bject yo|
|00003120| 75 20 63 61 6e 20 63 68 | 61 6e 67 65 20 69 74 20 |u can ch|ange it |
|00003130| 69 6e 74 65 72 6e 61 6c | 6c 79 20 61 6e 64 20 6e |internal|ly and n|
|00003140| 6f 74 20 65 66 66 65 63 | 74 20 74 68 65 20 69 6e |ot effec|t the in|
|00003150| 74 65 72 66 61 63 65 20 | 74 6f 20 74 68 61 74 20 |terface |to that |
|00003160| 6f 62 6a 65 63 74 2e 20 | 20 54 68 69 73 20 6d 65 |object. | This me|
|00003170| 61 6e 73 20 74 68 61 74 | 20 79 6f 75 20 63 61 6e |ans that| you can|
|00003180| 20 6d 61 6b 65 20 75 70 | 64 61 74 65 73 20 77 69 | make up|dates wi|
|00003190| 74 68 6f 75 74 20 65 66 | 66 65 63 74 69 6e 67 20 |thout ef|fecting |
|000031a0| 6f 74 68 65 72 20 70 61 | 72 74 73 20 6f 66 20 79 |other pa|rts of y|
|000031b0| 6f 75 72 20 73 79 73 74 | 65 6d 2e 0d 0d 4f 6e 63 |our syst|em...Onc|
|000031c0| 65 20 79 6f 75 20 68 61 | 76 65 20 61 6e 20 6f 62 |e you ha|ve an ob|
|000031d0| 6a 65 63 74 20 74 68 61 | 74 20 70 65 72 66 6f 72 |ject tha|t perfor|
|000031e0| 6d 73 20 73 6f 6d 65 20 | 73 70 65 63 69 66 69 63 |ms some |specific|
|000031f0| 20 66 75 6e 63 74 69 6f | 6e 2c 20 79 6f 75 20 63 | functio|n, you c|
|00003200| 61 6e 20 74 68 65 6e 20 | 63 72 65 61 74 65 20 61 |an then |create a|
|00003210| 20 73 79 6d 62 6f 6c 69 | 63 20 61 62 73 74 72 61 | symboli|c abstra|
|00003220| 63 74 69 6f 6e 20 6f 66 | 20 74 68 61 74 20 6f 62 |ction of| that ob|
|00003230| 6a 65 63 74 20 75 73 69 | 6e 67 20 61 20 22 76 69 |ject usi|ng a "vi|
|00003240| 65 77 22 20 6f 66 20 69 | 74 20 6f 6e 20 74 68 65 |ew" of i|t on the|
|00003250| 20 73 63 72 65 65 6e 2e | 20 20 54 68 65 20 63 6f | screen.| The co|
|00003260| 6e 6e 65 63 74 69 6f 6e | 73 20 74 6f 20 74 68 69 |nnection|s to thi|
|00003270| 73 20 63 61 6e 20 74 68 | 65 6e 20 62 65 20 64 6f |s can th|en be do|
|00003280| 6e 65 20 77 69 74 68 20 | 4e 65 78 74 53 74 65 70 |ne with |NextStep|
|00003290| 73 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 62 61 73 |s connec|tion bas|
|000032a0| 65 64 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 20 74 |ed progr|amming t|
|000032b0| 6f 6f 6c 73 2e 0d 02 7d | ff 00 15 12 01 f7 56 69 |ools...}|......Vi|
|000032c0| 65 77 73 20 6f 66 20 53 | 75 62 72 6f 75 74 69 6e |ews of S|ubroutin|
|000032d0| 65 20 4c 69 62 72 61 72 | 69 65 73 0d 0d ff 00 15 |e Librar|ies.....|
|000032e0| 10 00 f7 42 79 20 63 72 | 65 61 74 69 6e 67 20 74 |...By cr|eating t|
|000032f0| 68 65 73 65 20 76 69 65 | 77 73 2c 20 61 20 75 73 |hese vie|ws, a us|
|00003300| 65 72 20 6e 6f 77 20 63 | 61 6e 20 6d 61 6e 69 70 |er now c|an manip|
|00003310| 75 6c 61 74 65 20 74 68 | 65 20 76 69 65 77 73 20 |ulate th|e views |
|00003320| 6f 66 20 79 6f 75 72 20 | 6f 62 6a 65 63 74 20 61 |of your |object a|
|00003330| 6e 64 20 69 6e 74 65 67 | 72 61 74 65 20 69 74 20 |nd integ|rate it |
|00003340| 77 69 74 68 20 6f 74 68 | 65 72 20 6f 62 6a 65 63 |with oth|er objec|
|00003350| 74 73 2e 20 20 57 68 65 | 6e 20 74 68 65 79 20 6d |ts. Whe|n they m|
|00003360| 61 6b 65 20 61 20 63 6f | 6e 6e 65 63 74 69 6f 6e |ake a co|nnection|
|00003370| 20 74 6f 20 6f 6e 65 20 | 6f 66 20 79 6f 75 72 20 | to one |of your |
|00003380| 6f 62 6a 65 63 74 73 2c | 20 4e 65 78 74 53 74 65 |objects,| NextSte|
|00003390| 70 20 77 69 6c 6c 20 61 | 73 6b 20 74 68 65 6d 20 |p will a|sk them |
|000033a0| 77 68 69 63 68 20 6f 66 | 20 74 68 65 20 61 63 63 |which of| the acc|
|000033b0| 65 73 73 20 6d 65 74 68 | 6f 64 73 20 74 68 65 79 |ess meth|ods they|
|000033c0| 20 77 6f 75 6c 64 20 6c | 69 6b 65 20 74 6f 20 75 | would l|ike to u|
|000033d0| 73 65 2e 20 20 57 68 61 | 74 20 74 68 69 73 20 6d |se. Wha|t this m|
|000033e0| 65 61 6e 73 20 69 73 20 | 74 68 61 74 20 6e 6f 6e |eans is |that non|
|000033f0| 2d 70 72 6f 67 72 61 6d | 6d 65 72 73 20 63 61 6e |-program|mers can|
|00003400| 20 73 74 61 72 74 20 75 | 73 69 6e 67 20 74 6f 6f | start u|sing too|
|00003410| 6c 73 20 74 68 61 74 20 | 77 65 72 65 20 70 72 65 |ls that |were pre|
|00003420| 76 69 6f 75 73 6c 79 20 | 6f 6e 6c 79 20 61 63 63 |viously |only acc|
|00003430| 65 73 73 69 62 6c 65 20 | 74 6f 20 61 20 76 65 72 |essible |to a ver|
|00003440| 79 20 73 6d 61 6c 6c 20 | 67 72 6f 75 70 20 6f 66 |y small |group of|
|00003450| 20 65 78 70 65 72 69 65 | 6e 63 65 64 20 70 65 6f | experie|nced peo|
|00003460| 70 6c 65 2e 20 20 41 6e | 64 20 73 69 6e 63 65 20 |ple. An|d since |
|00003470| 69 74 20 69 73 20 75 70 | 20 74 6f 20 74 68 65 20 |it is up| to the |
|00003480| 63 72 65 61 74 65 6f 72 | 73 20 6f 66 20 74 68 65 |createor|s of the|
|00003490| 20 6f 62 6a 65 63 74 73 | 20 74 6f 20 76 61 6c 69 | objects| to vali|
|000034a0| 64 61 74 65 20 74 68 65 | 20 63 6f 72 72 65 63 74 |date the| correct|
|000034b0| 6e 65 73 73 20 6f 66 20 | 74 68 65 20 61 63 63 65 |ness of |the acce|
|000034c0| 73 73 20 6d 65 74 68 6f | 64 73 2c 20 61 20 6d 75 |ss metho|ds, a mu|
|000034d0| 63 68 20 6c 61 72 67 65 | 72 20 67 72 6f 75 70 20 |ch large|r group |
|000034e0| 6f 66 20 70 65 6f 70 6c | 65 20 77 69 6c 6c 20 62 |of peopl|e will b|
|000034f0| 65 20 61 62 6c 65 20 74 | 6f 20 75 73 65 20 74 68 |e able t|o use th|
|00003500| 65 20 6f 62 6a 65 63 74 | 73 20 77 69 74 68 6f 75 |e object|s withou|
|00003510| 74 20 74 68 65 20 74 72 | 61 64 69 74 69 6f 6e 61 |t the tr|aditiona|
|00003520| 6c 20 64 65 62 75 67 67 | 69 6e 67 20 65 66 66 6f |l debugg|ing effo|
|00003530| 72 74 73 2e 0d 03 41 0d | 49 6d 61 67 69 6e 65 20 |rts...A.|Imagine |
|00003540| 77 68 61 74 20 74 68 65 | 20 77 6f 72 6c 64 20 77 |what the| world w|
|00003550| 6f 75 6c 64 20 62 65 20 | 6c 69 6b 65 20 69 74 20 |ould be |like it |
|00003560| 74 68 65 20 6f 6e 6c 79 | 20 70 65 6f 70 6c 65 20 |the only| people |
|00003570| 77 68 6f 20 63 6f 75 6c | 64 20 64 72 69 76 65 20 |who coul|d drive |
|00003580| 61 20 63 61 72 20 77 65 | 72 65 20 74 68 65 20 70 |a car we|re the p|
|00003590| 65 6f 70 6c 65 20 77 68 | 6f 20 63 6f 75 6c 64 20 |eople wh|o could |
|000035a0| 61 73 73 65 6d 62 6c 65 | 20 61 6e 20 69 6e 74 65 |assemble| an inte|
|000035b0| 72 6e 61 6c 20 63 6f 6d | 62 75 73 74 69 6f 6e 20 |rnal com|bustion |
|000035c0| 65 6e 67 69 6e 65 2e 20 | 20 57 65 20 63 65 72 74 |engine. | We cert|
|000035d0| 69 61 6e 6c 79 20 77 6f | 75 6c 64 6e 27 74 20 68 |ianly wo|uldn't h|
|000035e0| 61 76 65 20 74 68 65 20 | 74 72 61 66 66 69 63 20 |ave the |traffic |
|000035f0| 70 72 6f 62 6c 65 6d 73 | 20 77 65 20 68 61 76 65 |problems| we have|
|00003600| 20 74 6f 64 61 79 2e 20 | 20 42 75 74 20 77 68 61 | today. | But wha|
|00003610| 74 20 77 65 20 68 61 76 | 65 20 66 6f 72 20 63 61 |t we hav|e for ca|
|00003620| 72 73 20 69 73 20 61 20 | 73 69 6d 70 6c 69 66 69 |rs is a |simplifi|
|00003630| 65 64 20 75 73 65 72 20 | 69 6e 74 65 72 66 61 63 |ed user |interfac|
|00003640| 65 2c 20 61 20 73 74 65 | 65 72 69 6e 67 20 77 68 |e, a ste|ering wh|
|00003650| 65 65 6c 2c 20 61 20 62 | 72 65 61 6b 20 61 6e 64 |eel, a b|reak and|
|00003660| 20 61 20 67 61 73 20 70 | 65 64 64 6c 65 2e 20 20 | a gas p|eddle. |
|00003670| 4f 4f 50 20 67 69 76 65 | 73 20 75 73 20 74 68 69 |OOP give|s us thi|
|00003680| 73 20 73 61 6d 65 20 65 | 61 73 79 20 74 6f 20 69 |s same e|asy to i|
|00003690| 6e 74 65 72 66 61 63 65 | 20 74 6f 20 74 72 61 64 |nterface| to trad|
|000036a0| 69 74 69 6f 6e 61 6c 20 | 73 75 62 72 6f 75 74 69 |itional |subrouti|
|000036b0| 6e 65 20 6c 69 62 72 61 | 72 69 65 73 2e 20 20 53 |ne libra|ries. S|
|000036c0| 6f 20 77 65 20 77 69 6c | 6c 20 73 65 65 20 74 68 |o we wil|l see th|
|000036d0| 61 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |at the n|umber of|
|000036e0| 20 70 65 6f 70 6c 65 20 | 74 68 61 74 20 61 72 65 | people |that are|
|000036f0| 20 63 72 65 61 74 69 6e | 67 20 61 70 70 6c 69 63 | creatin|g applic|
|00003700| 61 74 69 6f 6e 73 20 77 | 68 69 74 68 20 74 68 65 |ations w|hith the|
|00003710| 73 65 20 74 6f 6f 6c 73 | 20 77 69 6c 6c 20 67 72 |se tools| will gr|
|00003720| 6f 77 20 65 78 70 6f 6e | 65 6e 74 69 61 6c 6c 79 |ow expon|entially|
|00003730| 20 66 6f 72 20 74 68 65 | 20 6e 65 78 74 20 73 65 | for the| next se|
|00003740| 76 65 72 61 6c 20 79 65 | 61 72 73 2e 0d 0d 53 6f |veral ye|ars...So|
|00003750| 20 62 65 66 6f 72 65 20 | 77 65 20 68 61 64 20 74 | before |we had t|
|00003760| 6f 20 75 73 65 20 61 20 | 6d 61 6e 75 61 6c 20 74 |o use a |manual t|
|00003770| 6f 20 66 69 6e 64 20 6f | 75 74 20 61 6c 6c 20 74 |o find o|ut all t|
|00003780| 68 65 20 61 72 67 75 6d | 65 6e 74 73 20 74 6f 20 |he argum|ents to |
|00003790| 61 20 73 75 62 72 6f 75 | 74 69 6e 65 2c 20 64 65 |a subrou|tine, de|
|000037a0| 63 6c 61 72 65 20 61 6c | 6c 20 74 68 65 20 61 72 |clare al|l the ar|
|000037b0| 67 75 6d 65 6e 74 73 20 | 77 69 74 68 20 74 68 65 |guments |with the|
|000037c0| 20 63 6f 72 72 65 63 74 | 20 64 61 74 61 20 74 79 | correct| data ty|
|000037d0| 70 65 73 2c 20 70 61 73 | 73 20 74 68 65 73 65 20 |pes, pas|s these |
|000037e0| 69 6e 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 6f |in the c|orrect o|
|000037f0| 72 64 65 72 20 74 6f 20 | 73 75 62 72 6f 75 74 69 |rder to |subrouti|
|00003800| 6e 65 73 20 61 6e 64 20 | 74 68 65 6e 20 69 66 20 |nes and |then if |
|00003810| 79 6f 75 20 67 65 74 20 | 61 6e 79 20 6f 66 20 74 |you get |any of t|
|00003820| 68 65 6d 20 77 72 6f 6e | 67 2c 20 73 74 61 72 74 |hem wron|g, start|
|00003830| 20 61 20 6c 65 61 72 6e | 69 6e 67 20 68 6f 77 20 | a learn|ing how |
|00003840| 74 6f 20 75 73 65 20 74 | 68 65 20 64 65 62 75 67 |to use t|he debug|
|00003850| 67 65 72 2e 20 20 4e 6f | 77 20 77 65 20 77 69 6c |ger. No|w we wil|
|00003860| 6c 20 6a 75 73 74 20 70 | 6f 69 6e 74 20 61 6e 64 |l just p|oint and|
|00003870| 20 63 6c 69 63 6b 2e 0d | 05 22 ff 00 15 12 01 f7 | click..|."......|
|00003880| 49 6e 68 65 72 69 74 61 | 6e 63 65 0d 0d ff 00 15 |Inherita|nce.....|
|00003890| 10 00 f7 42 65 66 6f 72 | 65 20 77 65 20 64 69 73 |...Befor|e we dis|
|000038a0| 63 75 73 73 20 69 6e 68 | 65 72 69 74 61 6e 63 65 |cuss inh|eritance|
|000038b0| 2c 20 49 20 77 61 6e 74 | 20 74 6f 20 6d 61 6b 65 |, I want| to make|
|000038c0| 20 74 68 65 20 64 69 73 | 74 69 6e 63 74 69 6f 6e | the dis|tinction|
|000038d0| 20 62 65 74 77 65 65 6e | 20 61 20 69 6e 73 74 61 | between| a insta|
|000038e0| 6e 63 65 20 6f 66 20 61 | 6e 20 6f 62 6a 65 63 74 |nce of a|n object|
|000038f0| 20 61 6e 64 20 61 20 ff | 00 15 10 01 f7 63 6c 61 | and a .|.....cla|
|00003900| 73 73 ff 00 15 10 00 f7 | 20 6f 66 20 6f 62 6a 65 |ss......| of obje|
|00003910| 63 74 73 2e 20 20 54 68 | 65 20 63 68 61 72 61 63 |cts. Th|e charac|
|00003920| 74 65 72 69 73 74 69 63 | 73 20 6f 66 20 63 6c 61 |teristic|s of cla|
|00003930| 73 73 20 6f 66 20 6f 62 | 6a 65 63 74 73 2c 20 6c |ss of ob|jects, l|
|00003940| 69 6b 65 20 61 20 46 6f | 72 64 20 54 72 75 63 6b |ike a Fo|rd Truck|
|00003950| 2c 20 69 73 20 64 65 74 | 65 72 6d 69 6e 65 64 20 |, is det|ermined |
|00003960| 62 79 20 74 68 65 20 66 | 61 63 74 6f 72 79 20 77 |by the f|actory w|
|00003970| 68 69 63 68 20 63 72 65 | 61 74 65 73 20 74 68 65 |hich cre|ates the|
|00003980| 20 74 72 75 63 6b 73 2e | 20 20 49 66 20 49 20 68 | trucks.| If I h|
|00003990| 61 64 20 61 20 46 6f 72 | 64 20 54 72 75 63 6b 2c |ad a For|d Truck,|
|000039a0| 20 49 20 77 6f 75 6c 64 | 20 68 61 76 65 20 61 6e | I would| have an|
|000039b0| 20 69 6e 73 74 61 6e 63 | 65 20 6f 66 20 74 68 65 | instanc|e of the|
|000039c0| 20 74 72 75 63 6b 2e 20 | 20 53 69 6d 69 6c 61 72 | truck. | Similar|
|000039d0| 6c 79 20 77 65 20 68 61 | 76 65 20 63 6c 61 73 73 |ly we ha|ve class|
|000039e0| 20 6f 66 20 6f 62 6a 65 | 63 74 73 20 77 68 69 63 | of obje|cts whic|
|000039f0| 68 20 63 72 65 61 74 65 | 20 6e 65 77 20 69 6e 73 |h create| new ins|
|00003a00| 74 61 6e 63 65 73 20 6f | 66 20 6f 62 6a 65 63 74 |tances o|f object|
|00003a10| 73 2e 20 20 41 6e 64 20 | 74 68 65 73 65 20 61 72 |s. And |these ar|
|00003a20| 65 20 6e 61 74 75 72 61 | 6c 6c 79 20 63 61 6c 6c |e natura|lly call|
|00003a30| 65 64 20 ff 00 15 10 01 | f7 66 61 63 74 6f 72 79 |ed .....|.factory|
|00003a40| 20 6f 62 6a 65 63 74 73 | ff 00 15 10 00 f7 2e 0d | objects|........|
|00003a50| 0d 4f 75 72 20 73 65 63 | 6f 6e 64 20 74 65 63 68 |.Our sec|ond tech|
|00003a60| 6e 69 71 75 65 20 69 73 | 20 49 6e 68 65 72 69 74 |nique is| Inherit|
|00003a70| 61 6e 63 65 2e 20 20 57 | 68 65 6e 65 76 65 72 20 |ance. W|henever |
|00003a80| 77 65 20 63 72 65 61 74 | 65 20 61 20 6e 65 77 20 |we creat|e a new |
|00003a90| ff 00 15 10 01 f7 63 6c | 61 73 73 ff 00 15 10 00 |......cl|ass.....|
|00003aa0| f7 20 6f 66 20 6f 62 6a | 65 63 74 73 2c 20 77 65 |. of obj|ects, we|
|00003ab0| 20 61 6c 77 61 79 73 20 | 63 72 65 61 74 65 20 69 | always |create i|
|00003ac0| 74 20 72 65 6c 61 74 69 | 76 65 20 74 6f 20 6f 74 |t relati|ve to ot|
|00003ad0| 68 65 72 20 6f 62 6a 65 | 63 74 73 20 63 6c 61 73 |her obje|cts clas|
|00003ae0| 73 65 73 2e 20 54 68 65 | 73 65 20 63 6c 61 73 73 |ses. The|se class|
|00003af0| 65 73 20 74 68 65 6e 20 | 66 69 74 20 74 6f 67 65 |es then |fit toge|
|00003b00| 74 68 65 72 20 69 6e 74 | 6f 20 61 20 22 74 72 65 |ther int|o a "tre|
|00003b10| 65 22 20 6f 66 20 6f 62 | 6a 65 63 74 20 63 6c 61 |e" of ob|ject cla|
|00003b20| 73 73 65 73 2e 0d 0d ff | 00 15 12 01 f7 53 61 6d |sses....|.....Sam|
|00003b30| 70 6c 65 20 49 6e 68 65 | 72 69 74 65 6e 63 65 20 |ple Inhe|ritence |
|00003b40| 54 72 65 65 ff 00 15 10 | 00 f7 0d 0d 54 68 65 20 |Tree....|....The |
|00003b50| 73 74 72 75 63 74 75 72 | 65 20 69 73 20 76 65 72 |structur|e is ver|
|00003b60| 79 20 73 69 6d 69 6c 61 | 72 20 74 6f 20 61 6e 20 |y simila|r to an |
|00003b70| 65 76 6f 6c 75 74 69 6f | 6e 61 72 79 20 74 72 65 |evolutio|nary tre|
|00003b80| 65 2e 20 20 54 68 65 20 | 20 6d 6f 73 74 20 67 65 |e. The | most ge|
|00003b90| 6e 65 72 61 6c 20 63 6c | 61 73 73 20 69 73 20 61 |neral cl|ass is a|
|00003ba0| 74 20 74 68 65 20 74 6f | 70 2c 20 61 6e 64 20 65 |t the to|p, and e|
|00003bb0| 61 63 68 20 63 6c 61 73 | 73 20 74 68 61 74 20 68 |ach clas|s that h|
|00003bc0| 61 73 20 61 20 67 72 6f | 75 70 20 6f 66 20 63 6f |as a gro|up of co|
|00003bd0| 6d 6d 6f 6e 20 63 68 61 | 72 61 63 74 65 72 69 73 |mmon cha|racteris|
|00003be0| 74 69 63 73 20 77 6f 75 | 6c 64 20 62 65 20 61 20 |tics wou|ld be a |
|00003bf0| 6c 6f 77 65 72 20 63 6c | 61 73 73 2e 20 20 41 6e |lower cl|ass. An|
|00003c00| 20 69 6d 70 6f 72 74 61 | 6e 74 20 70 6f 69 6e 74 | importa|nt point|
|00003c10| 20 68 65 72 65 20 69 73 | 20 74 68 61 74 20 79 6f | here is| that yo|
|00003c20| 75 20 63 61 6e 20 63 72 | 65 61 74 65 20 61 6e 20 |u can cr|eate an |
|00003c30| 69 6e 73 74 61 6e 63 65 | 20 66 72 6f 6d 20 61 6e |instance| from an|
|00003c40| 79 20 6c 65 76 65 6c 20 | 69 6e 20 74 68 65 20 74 |y level |in the t|
|00003c50| 72 65 65 2e 20 20 41 6e | 64 20 77 68 65 6e 20 79 |ree. An|d when y|
|00003c60| 6f 75 20 74 68 69 6e 6b | 20 6f 66 20 74 68 65 20 |ou think| of the |
|00003c70| 64 69 66 66 65 72 65 6e | 63 65 20 62 65 74 77 65 |differen|ce betwe|
|00003c80| 65 6e 20 61 6e 20 69 6e | 73 74 61 6e 63 65 20 6f |en an in|stance o|
|00003c90| 66 20 61 6e 20 6f 62 6a | 65 63 74 20 61 6e 64 20 |f an obj|ect and |
|00003ca0| 61 20 63 6c 61 73 73 20 | 6f 66 20 6f 62 6a 65 63 |a class |of objec|
|00003cb0| 74 2c 20 72 65 6d 65 6d | 62 65 72 20 74 68 61 74 |t, remem|ber that|
|00003cc0| 20 61 72 65 20 61 73 20 | 64 69 66 66 65 72 65 6e | are as |differen|
|00003cd0| 74 20 61 73 20 61 20 63 | 61 72 20 61 6e 64 20 61 |t as a c|ar and a|
|00003ce0| 20 66 61 63 74 6f 72 79 | 20 74 68 61 74 20 70 72 | factory| that pr|
|00003cf0| 6f 64 75 63 65 73 20 63 | 61 72 73 2e 20 20 54 68 |oduces c|ars. Th|
|00003d00| 69 73 20 63 61 6e 20 62 | 65 20 64 69 66 66 61 63 |is can b|e diffac|
|00003d10| 75 6c 74 20 66 6f 72 20 | 62 65 67 69 6e 6e 65 72 |ult for |beginner|
|00003d20| 73 20 75 73 69 6e 67 20 | 49 6e 74 65 72 66 61 63 |s using |Interfac|
|00003d30| 65 20 42 75 69 6c 64 65 | 72 20 62 65 63 61 75 73 |e Builde|r becaus|
|00003d40| 65 20 62 6f 74 68 20 63 | 6c 61 73 73 65 73 20 61 |e both c|lasses a|
|00003d50| 6e 64 20 69 6e 73 74 61 | 6e 63 65 73 20 61 72 65 |nd insta|nces are|
|00003d60| 20 72 65 70 72 65 73 65 | 6e 74 65 64 20 62 79 20 | represe|nted by |
|00003d70| 73 6d 61 6c 6c 20 77 69 | 6e 64 6f 77 73 20 74 68 |small wi|ndows th|
|00003d80| 61 74 20 61 72 65 20 76 | 65 72 79 20 63 6c 6f 73 |at are v|ery clos|
|00003d90| 65 20 74 6f 67 65 74 68 | 65 72 2e 0d 00 78 0d 57 |e togeth|er...x.W|
|00003da0| 68 65 6e 20 73 61 79 20 | 74 68 61 74 20 48 75 6d |hen say |that Hum|
|00003db0| 61 6e 73 20 61 72 65 20 | 61 20 ff 00 15 10 01 f7 |ans are |a ......|
|00003dc0| 73 75 70 65 72 2d 63 6c | 61 73 73 ff 00 15 10 00 |super-cl|ass.....|
|00003dd0| f7 20 6f 66 20 53 74 75 | 64 65 6e 74 73 20 61 6e |. of Stu|dents an|
|00003de0| 64 20 74 68 61 74 20 48 | 75 6d 61 6e 73 20 61 72 |d that H|umans ar|
|00003df0| 65 20 61 20 ff 00 15 10 | 01 f7 73 75 62 2d 63 6c |e a ....|..sub-cl|
|00003e00| 61 73 73 ff 00 15 10 00 | f7 20 6f 66 20 6d 61 6d |ass.....|. of mam|
|00003e10| 6d 61 6c 73 2e 0d 00 b2 | ff 00 15 12 01 f7 49 6e |mals....|......In|
|00003e20| 68 65 72 69 74 65 6e 63 | 65 20 28 63 6f 6e 74 69 |heritenc|e (conti|
|00003e30| 6e 75 65 64 29 0d ff 00 | 15 10 00 f7 0d 57 68 65 |nued)...|.....Whe|
|00003e40| 6e 20 77 65 20 63 72 65 | 61 74 65 20 61 20 6e 65 |n we cre|ate a ne|
|00003e50| 77 20 63 6c 61 73 73 2c | 20 77 65 20 69 6e 68 65 |w class,| we inhe|
|00003e60| 72 69 74 20 61 6c 6c 20 | 74 68 65 20 69 6e 73 74 |rit all |the inst|
|00003e70| 61 6e 63 65 20 76 61 72 | 69 61 62 6c 65 73 20 61 |ance var|iables a|
|00003e80| 73 20 77 65 6c 6c 20 61 | 73 20 6d 65 74 68 6f 64 |s well a|s method|
|00003e90| 73 20 64 65 66 69 6e 65 | 64 20 69 6e 20 69 74 73 |s define|d in its|
|00003ea0| 20 73 75 70 65 72 2d 63 | 6c 61 73 73 2e 0d 0d 54 | super-c|lass...T|
|00003eb0| 6f 20 62 65 20 63 6f 6e | 74 69 6e 75 65 64 2e 2e |o be con|tinued..|
|00003ec0| 2e 2e 20 2d 20 44 61 6e | 0d 0d 00 9c 24 00 0c fa |.. - Dan|....$...|
|00003ed0| 00 13 a6 00 0c ca 00 00 | a7 00 0c f2 01 32 24 00 |........|.....2$.|
|00003ee0| 10 28 00 d2 34 00 11 a1 | 01 1f 34 00 02 86 00 15 |.(..4...|..4.....|
|00003ef0| 24 00 14 94 01 7e 2c 00 | 02 97 00 e6 3c 00 04 b6 |$....~,.|....<...|
|00003f00| 01 5a 0c 00 19 0d 00 85 | 34 00 1a 0e 02 03 0c 00 |.Z......|4.......|
|00003f10| 07 b4 00 13 3c 00 07 b7 | 00 ad 3c 00 08 fb 00 9a |....<...|..<.....|
|00003f20| 34 00 1f 3b 00 d5 24 00 | 21 46 01 30 14 00 24 12 |4..;..$.|!F.0..$.|
|00003f30| 01 7c 04 00 0a 69 00 e4 | 34 00 28 4d 01 6f 24 00 |.|...i..|4.(M.o$.|
|00003f40| 2b ae 00 d1 34 00 2e 4e | 01 cc 34 00 32 b6 00 e8 |+...4..N|..4.2...|
|00003f50| 04 00 35 35 01 43 34 00 | 38 78 02 07 24 00 3d 9c |..55.C4.|8x..$.=.|
|00003f60| 00 39 34 00 3e 16 00 87 | 02 5f 0d 54 68 69 73 20 |.94.>...|._.This |
|00003f70| 6c 61 73 74 20 67 65 6e | 65 72 61 6c 20 70 6f 69 |last gen|eral poi|
|00003f80| 6e 74 20 69 73 20 74 68 | 61 74 20 63 61 72 65 66 |nt is th|at caref|
|00003f90| 75 6c 20 70 61 72 74 69 | 74 69 6f 6e 69 6e 67 20 |ul parti|tioning |
|00003fa0| 6f 66 20 79 6f 75 72 20 | 70 72 6f 62 6c 65 6d 20 |of your |problem |
|00003fb0| 61 6c 6c 6f 77 73 20 79 | 6f 75 20 74 6f 20 64 6f |allows y|ou to do|
|00003fc0| 20 64 69 73 74 72 69 62 | 75 74 65 64 20 63 6f 6d | distrib|uted com|
|00003fd0| 70 75 74 69 6e 67 2e 20 | 20 46 6f 72 20 65 78 61 |puting. | For exa|
|00003fe0| 6d 70 6c 65 20 69 6e 20 | 74 68 65 20 42 72 65 61 |mple in |the Brea|
|00003ff0| 6b 41 70 70 20 70 72 6f | 67 72 61 6d 2c 20 65 76 |kApp pro|gram, ev|
|00004000| 65 72 79 20 74 69 6d 65 | 20 74 68 65 20 62 61 6c |ery time| the bal|
|00004010| 6c 20 68 69 74 73 20 74 | 68 65 20 77 61 6c 6c 20 |l hits t|he wall |
|00004020| 79 6f 75 20 68 65 61 72 | 20 73 6f 75 6e 64 20 6c |you hear| sound l|
|00004030| 69 6b 65 20 61 20 70 6c | 75 63 6b 65 64 20 73 74 |ike a pl|ucked st|
|00004040| 72 69 6e 67 20 76 69 62 | 72 61 74 69 6e 67 2e 20 |ring vib|rating. |
|00004050| 20 54 68 69 73 20 69 73 | 20 61 63 74 75 61 6c 6c | This is| actuall|
|00004060| 79 20 61 20 62 65 69 6e | 67 20 64 6f 6e 65 20 62 |y a bein|g done b|
|00004070| 79 20 61 20 74 68 65 20 | 44 53 50 2e 20 20 59 6f |y a the |DSP. Yo|
|00004080| 75 20 6d 69 67 68 74 20 | 61 6c 73 6f 20 6e 6f 74 |u might |also not|
|00004090| 69 63 65 20 74 68 61 74 | 20 4d 61 74 68 65 6d 61 |ice that| Mathema|
|000040a0| 74 69 63 61 20 68 61 73 | 20 61 20 70 72 65 66 65 |tica has| a prefe|
|000040b0| 72 65 6e 63 65 73 20 6d | 65 6e 75 20 74 68 61 74 |rences m|enu that|
|000040c0| 20 61 6c 6c 6f 77 20 79 | 6f 75 20 74 6f 20 72 75 | allow y|ou to ru|
|000040d0| 6e 20 74 68 65 20 6b 65 | 72 6e 65 6c 20 6f 6e 20 |n the ke|rnel on |
|000040e0| 61 6e 6f 74 68 65 72 20 | 70 72 6f 63 65 73 73 6f |another |processo|
|000040f0| 72 2e 20 20 53 6f 20 79 | 6f 75 20 63 61 6e 20 72 |r. So y|ou can r|
|00004100| 75 6e 20 79 6f 75 20 70 | 72 6f 67 72 61 6d 73 20 |un you p|rograms |
|00004110| 6f 6e 20 74 68 65 20 6d | 61 69 6e 20 36 38 30 33 |on the m|ain 6803|
|00004120| 30 2c 20 74 68 65 20 44 | 53 50 2c 20 6f 6e 20 70 |0, the D|SP, on p|
|00004130| 72 6f 63 65 73 73 6f 72 | 73 20 74 68 61 74 20 61 |rocessor|s that a|
|00004140| 72 65 20 6c 61 74 65 72 | 20 61 64 64 65 64 20 75 |re later| added u|
|00004150| 73 69 6e 67 20 74 68 65 | 20 63 75 72 72 65 6e 74 |sing the| current|
|00004160| 20 74 68 72 65 65 20 65 | 6d 70 74 79 20 4e 65 78 | three e|mpty Nex|
|00004170| 74 42 75 73 20 73 6c 6f | 74 73 2c 20 6f 6e 20 61 |tBus slo|ts, on a|
|00004180| 20 63 6f 6d 70 75 74 65 | 20 73 65 72 76 65 72 20 | compute| server |
|00004190| 64 6f 77 6e 20 74 68 65 | 20 68 61 6c 6c 2c 20 6f |down the| hall, o|
|000041a0| 72 20 6f 6e 20 61 20 66 | 69 6c 65 20 73 65 76 65 |r on a f|ile seve|
|000041b0| 72 20 61 20 74 68 6f 75 | 73 61 6e 64 20 6d 69 6c |r a thou|sand mil|
|000041c0| 65 73 20 61 77 61 79 2e | 0d 03 6c ff 00 15 12 01 |es away.|..l.....|
|000041d0| f7 42 65 6e 65 66 69 74 | 73 20 6f 66 20 45 6e 63 |.Benefit|s of Enc|
|000041e0| 61 70 73 75 6c 61 74 69 | 6f 6e 0d 0d ff 00 15 10 |apsulati|on......|
|000041f0| 00 f7 4f 6e 63 65 20 79 | 6f 75 20 73 74 61 72 74 |..Once y|ou start|
|00004200| 20 65 6e 63 61 70 73 75 | 6c 61 74 69 6e 67 20 79 | encapsu|lating y|
|00004210| 6f 75 72 20 64 61 74 61 | 20 79 6f 75 20 77 69 6c |our data| you wil|
|00004220| 6c 20 66 69 6e 64 20 74 | 68 61 74 20 79 6f 75 20 |l find t|hat you |
|00004230| 63 61 6e 20 71 75 69 63 | 6b 6c 79 20 63 6f 6e 74 |can quic|kly cont|
|00004240| 72 6f 6c 20 74 68 65 20 | 64 61 74 61 20 74 79 70 |rol the |data typ|
|00004250| 65 73 20 6f 66 20 74 68 | 61 74 20 61 72 65 20 70 |es of th|at are p|
|00004260| 61 73 73 65 64 20 74 6f | 20 79 6f 75 72 20 6f 62 |assed to| your ob|
|00004270| 6a 65 63 74 73 2e 20 20 | 53 69 6e 63 65 20 74 68 |jects. |Since th|
|00004280| 65 20 4e 65 78 74 53 74 | 65 70 20 4f 62 6a 65 63 |e NextSt|ep Objec|
|00004290| 74 69 76 65 20 43 20 63 | 6f 6d 70 69 6c 65 72 20 |tive C c|ompiler |
|000042a0| 68 61 73 20 74 79 70 65 | 20 63 68 65 63 6b 69 6e |has type| checkin|
|000042b0| 67 20 62 75 69 6c 74 20 | 69 6e 74 6f 20 69 74 73 |g built |into its|
|000042c0| 20 6d 65 73 73 61 67 69 | 6e 67 20 79 6f 75 20 77 | messagi|ng you w|
|000042d0| 69 6c 6c 20 61 6c 77 61 | 79 73 20 62 65 20 61 62 |ill alwa|ys be ab|
|000042e0| 6c 65 20 74 6f 20 63 61 | 74 63 68 20 64 61 74 61 |le to ca|tch data|
|000042f0| 20 74 79 70 65 20 6d 69 | 73 6d 61 74 63 68 65 73 | type mi|smatches|
|00004300| 20 61 74 20 65 61 72 6c | 79 20 69 6e 20 74 68 65 | at earl|y in the|
|00004310| 20 64 65 73 69 67 6e 20 | 70 72 6f 63 65 73 73 20 | design |process |
|00004320| 77 68 65 72 65 20 69 74 | 20 69 73 20 6d 75 63 68 |where it| is much|
|00004330| 20 65 61 73 69 65 72 20 | 74 6f 20 69 73 6f 6c 61 | easier |to isola|
|00004340| 74 65 2e 20 20 54 68 69 | 73 20 77 69 6c 6c 20 64 |te. Thi|s will d|
|00004350| 72 61 6d 61 74 69 63 61 | 6c 6c 79 20 63 75 74 20 |ramatica|lly cut |
|00004360| 64 6f 77 6e 20 79 6f 75 | 72 20 74 69 6d 65 20 73 |down you|r time s|
|00004370| 70 65 6e 74 20 77 69 74 | 68 20 74 68 65 20 64 65 |pent wit|h the de|
|00004380| 62 75 67 67 65 72 20 61 | 6e 64 20 67 72 65 61 74 |bugger a|nd great|
|00004390| 6c 79 20 65 6e 68 61 6e | 63 65 20 79 6f 75 20 70 |ly enhan|ce you p|
|000043a0| 72 6f 67 72 61 6d 6d 73 | 20 66 69 6e 61 6c 20 72 |rogramms| final r|
|000043b0| 65 6c 69 61 62 69 6c 69 | 74 79 2e 0d 0d 4f 6e 63 |eliabili|ty...Onc|
|000043c0| 65 20 79 6f 75 20 64 65 | 66 69 6e 65 20 74 68 65 |e you de|fine the|
|000043d0| 20 73 65 74 20 6f 66 20 | 6d 65 73 73 61 67 65 73 | set of |messages|
|000043e0| 20 74 68 61 74 20 61 6e | 20 6f 62 6a 65 63 74 20 | that an| object |
|000043f0| 63 61 6e 20 72 65 63 65 | 69 76 65 20 79 6f 75 20 |can rece|ive you |
|00004400| 61 72 65 20 74 68 65 6e | 20 66 69 78 69 6e 67 20 |are then| fixing |
|00004410| 74 68 65 20 69 6e 74 65 | 72 66 61 63 65 20 74 6f |the inte|rface to|
|00004420| 20 74 68 61 74 20 6f 62 | 6a 65 63 74 2e 20 20 49 | that ob|ject. I|
|00004430| 66 20 61 74 20 61 20 6c | 61 74 65 72 20 74 69 6d |f at a l|ater tim|
|00004440| 65 20 79 6f 75 20 66 69 | 6e 64 20 61 6e 6f 74 68 |e you fi|nd anoth|
|00004450| 65 72 20 6d 6f 72 65 20 | 65 66 66 69 63 69 65 6e |er more |efficien|
|00004460| 74 20 64 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |t data s|tructure|
|00004470| 20 79 6f 75 20 77 6f 75 | 6c 64 20 6c 69 6b 65 20 | you wou|ld like |
|00004480| 74 6f 20 75 73 65 20 69 | 6e 73 69 64 65 20 74 68 |to use i|nside th|
|00004490| 65 20 6f 62 6a 65 63 74 | 20 79 6f 75 20 63 61 6e |e object| you can|
|000044a0| 20 63 68 61 6e 67 65 20 | 69 74 20 69 6e 74 65 72 | change |it inter|
|000044b0| 6e 61 6c 6c 79 20 61 6e | 64 20 6e 6f 74 20 65 66 |nally an|d not ef|
|000044c0| 66 65 63 74 20 74 68 65 | 20 69 6e 74 65 72 66 61 |fect the| interfa|
|000044d0| 63 65 20 74 6f 20 74 68 | 61 74 20 6f 62 6a 65 63 |ce to th|at objec|
|000044e0| 74 2e 20 20 54 68 69 73 | 20 6d 65 61 6e 73 20 74 |t. This| means t|
|000044f0| 68 61 74 20 79 6f 75 20 | 63 61 6e 20 6d 61 6b 65 |hat you |can make|
|00004500| 20 75 70 64 61 74 65 73 | 20 77 69 74 68 6f 75 74 | updates| without|
|00004510| 20 65 66 66 65 63 74 69 | 6e 67 20 6f 74 68 65 72 | effecti|ng other|
|00004520| 20 70 61 72 74 73 20 6f | 66 20 79 6f 75 72 20 73 | parts o|f your s|
|00004530| 79 73 74 65 6d 2e 0d 00 | fa 0d 4f 6e 63 65 20 79 |ystem...|..Once y|
|00004540| 6f 75 20 68 61 76 65 20 | 61 6e 20 6f 62 6a 65 63 |ou have |an objec|
|00004550| 74 20 74 68 61 74 20 70 | 65 72 66 6f 72 6d 73 20 |t that p|erforms |
|00004560| 73 6f 6d 65 20 73 70 65 | 63 69 66 69 63 20 66 75 |some spe|cific fu|
|00004570| 6e 63 74 69 6f 6e 2c 20 | 79 6f 75 20 63 61 6e 20 |nction, |you can |
|00004580| 74 68 65 6e 20 63 72 65 | 61 74 65 20 61 20 73 79 |then cre|ate a sy|
|00004590| 6d 62 6f 6c 69 63 20 61 | 62 73 74 72 61 63 74 69 |mbolic a|bstracti|
|000045a0| 6f 6e 20 6f 66 20 74 68 | 61 74 20 6f 62 6a 65 63 |on of th|at objec|
|000045b0| 74 20 75 73 69 6e 67 20 | 61 20 22 76 69 65 77 22 |t using |a "view"|
|000045c0| 20 6f 66 20 69 74 20 6f | 6e 20 74 68 65 20 73 63 | of it o|n the sc|
|000045d0| 72 65 65 6e 2e 20 20 54 | 68 65 20 63 6f 6e 6e 65 |reen. T|he conne|
|000045e0| 63 74 69 6f 6e 73 20 74 | 6f 20 74 68 69 73 20 63 |ctions t|o this c|
|000045f0| 61 6e 20 74 68 65 6e 20 | 62 65 20 64 6f 6e 65 20 |an then |be done |
|00004600| 77 69 74 68 20 4e 65 78 | 74 53 74 65 70 73 20 63 |with Nex|tSteps c|
|00004610| 6f 6e 6e 65 63 74 69 6f | 6e 20 62 61 73 65 64 20 |onnectio|n based |
|00004620| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 74 6f 6f 6c |programm|ing tool|
|00004630| 73 2e 0d 00 a2 24 00 0c | fa 00 13 a6 00 0c ca 00 |s....$..|........|
|00004640| 00 a7 00 0c f2 01 32 24 | 00 10 28 00 d2 34 00 11 |......2$|..(..4..|
|00004650| a1 01 1f 34 00 02 86 00 | 15 24 00 14 94 01 7e 2c |...4....|.$....~,|
|00004660| 00 02 97 00 e6 3c 00 04 | b6 01 5a 0c 00 19 0d 00 |.....<..|..Z.....|
|00004670| 85 34 00 1a 0e 02 03 0c | 00 07 b4 00 13 3c 00 07 |.4......|.....<..|
|00004680| b7 00 ad 3c 00 08 fb 00 | 9a 34 00 1f 3b 00 d5 24 |...<....|.4..;..$|
|00004690| 00 21 46 01 30 14 00 24 | 12 01 7c 04 00 3f 68 00 |.!F.0..$|..|..?h.|
|000046a0| e4 34 00 28 4d 01 6f 24 | 00 2b ae 00 d1 34 00 41 |.4.(M.o$|.+...4.A|
|000046b0| c9 01 5a 04 00 45 37 00 | 72 34 00 32 b6 00 e8 04 |..Z..E7.|r4.2....|
|000046c0| 00 35 35 01 43 34 00 38 | 78 02 07 24 00 3d 9c 00 |.55.C4.8|x..$.=..|
|000046d0| 39 34 00 3e 16 00 87 02 | 60 0d 54 68 69 73 20 6c |94.>....|`.This l|
|000046e0| 61 73 74 20 67 65 6e 65 | 72 61 6c 20 70 6f 69 6e |ast gene|ral poin|
|000046f0| 74 20 69 73 20 74 68 61 | 74 20 63 61 72 65 66 75 |t is tha|t carefu|
|00004700| 6c 20 70 61 72 74 69 74 | 69 6f 6e 69 6e 67 20 6f |l partit|ioning o|
|00004710| 66 20 79 6f 75 72 20 70 | 72 6f 62 6c 65 6d 20 61 |f your p|roblem a|
|00004720| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 64 6f 20 |llows yo|u to do |
|00004730| 64 69 73 74 72 69 62 75 | 74 65 64 20 63 6f 6d 70 |distribu|ted comp|
|00004740| 75 74 69 6e 67 2e 20 20 | 46 6f 72 20 65 78 61 6d |uting. |For exam|
|00004750| 70 6c 65 20 69 6e 20 74 | 68 65 20 42 72 65 61 6b |ple in t|he Break|
|00004760| 41 70 70 20 70 72 6f 67 | 72 61 6d 2c 20 65 76 65 |App prog|ram, eve|
|00004770| 72 79 20 74 69 6d 65 20 | 74 68 65 20 62 61 6c 6c |ry time |the ball|
|00004780| 20 68 69 74 73 20 74 68 | 65 20 77 61 6c 6c 20 79 | hits th|e wall y|
|00004790| 6f 75 20 68 65 61 72 20 | 73 6f 75 6e 64 20 6c 69 |ou hear |sound li|
|000047a0| 6b 65 20 61 20 70 6c 75 | 63 6b 65 64 20 73 74 72 |ke a plu|cked str|
|000047b0| 69 6e 67 20 76 69 62 72 | 61 74 69 6e 67 2e 20 20 |ing vibr|ating. |
|000047c0| 54 68 69 73 20 69 73 20 | 61 63 74 75 61 6c 6c 79 |This is |actually|
|000047d0| 20 61 20 62 65 69 6e 67 | 20 64 6f 6e 65 20 62 79 | a being| done by|
|000047e0| 20 61 20 74 68 65 20 44 | 53 50 2e 20 20 59 6f 75 | a the D|SP. You|
|000047f0| 20 6d 69 67 68 74 20 61 | 6c 73 6f 20 6e 6f 74 69 | might a|lso noti|
|00004800| 63 65 20 74 68 61 74 20 | 4d 61 74 68 65 6d 61 74 |ce that |Mathemat|
|00004810| 69 63 61 20 68 61 73 20 | 61 20 70 72 65 66 65 72 |ica has |a prefer|
|00004820| 65 6e 63 65 73 20 6d 65 | 6e 75 20 74 68 61 74 20 |ences me|nu that |
|00004830| 61 6c 6c 6f 77 20 79 6f | 75 20 74 6f 20 72 75 6e |allow yo|u to run|
|00004840| 20 74 68 65 20 6b 65 72 | 6e 65 6c 20 6f 6e 20 61 | the ker|nel on a|
|00004850| 6e 6f 74 68 65 72 20 70 | 72 6f 63 65 73 73 6f 72 |nother p|rocessor|
|00004860| 2e 20 20 53 6f 20 79 6f | 75 20 63 61 6e 20 72 75 |. So yo|u can ru|
|00004870| 6e 20 79 6f 75 72 20 70 | 72 6f 67 72 61 6d 73 20 |n your p|rograms |
|00004880| 6f 6e 20 74 68 65 20 6d | 61 69 6e 20 36 38 30 33 |on the m|ain 6803|
|00004890| 30 2c 20 74 68 65 20 44 | 53 50 2c 20 6f 6e 20 70 |0, the D|SP, on p|
|000048a0| 72 6f 63 65 73 73 6f 72 | 73 20 74 68 61 74 20 61 |rocessor|s that a|
|000048b0| 72 65 20 6c 61 74 65 72 | 20 61 64 64 65 64 20 75 |re later| added u|
|000048c0| 73 69 6e 67 20 74 68 65 | 20 63 75 72 72 65 6e 74 |sing the| current|
|000048d0| 20 74 68 72 65 65 20 65 | 6d 70 74 79 20 4e 65 78 | three e|mpty Nex|
|000048e0| 74 42 75 73 20 73 6c 6f | 74 73 2c 20 6f 6e 20 61 |tBus slo|ts, on a|
|000048f0| 20 63 6f 6d 70 75 74 65 | 20 73 65 72 76 65 72 20 | compute| server |
|00004900| 64 6f 77 6e 20 74 68 65 | 20 68 61 6c 6c 2c 20 6f |down the| hall, o|
|00004910| 72 20 6f 6e 20 61 20 66 | 69 6c 65 20 73 65 76 65 |r on a f|ile seve|
|00004920| 72 20 61 20 74 68 6f 75 | 73 61 6e 64 20 6d 69 6c |r a thou|sand mil|
|00004930| 65 73 20 61 77 61 79 2e | 0d 02 ac ff 00 15 12 01 |es away.|........|
|00004940| f7 49 6e 68 65 72 69 74 | 61 6e 63 65 0d 0d ff 00 |.Inherit|ance....|
|00004950| 15 10 00 f7 42 65 66 6f | 72 65 20 77 65 20 64 69 |....Befo|re we di|
|00004960| 73 63 75 73 73 20 69 6e | 68 65 72 69 74 61 6e 63 |scuss in|heritanc|
|00004970| 65 2c 20 49 20 77 61 6e | 74 20 74 6f 20 6d 61 6b |e, I wan|t to mak|
|00004980| 65 20 74 68 65 20 64 69 | 73 74 69 6e 63 74 69 6f |e the di|stinctio|
|00004990| 6e 20 62 65 74 77 65 65 | 6e 20 61 20 69 6e 73 74 |n betwee|n a inst|
|000049a0| 61 6e 63 65 20 6f 66 20 | 61 6e 20 6f 62 6a 65 63 |ance of |an objec|
|000049b0| 74 20 61 6e 64 20 61 20 | ff 00 15 10 01 f7 63 6c |t and a |......cl|
|000049c0| 61 73 73 ff 00 15 10 00 | f7 20 6f 66 20 6f 62 6a |ass.....|. of obj|
|000049d0| 65 63 74 73 2e 20 20 54 | 68 65 20 63 68 61 72 61 |ects. T|he chara|
|000049e0| 63 74 65 72 69 73 74 69 | 63 73 20 6f 66 20 63 6c |cteristi|cs of cl|
|000049f0| 61 73 73 20 6f 66 20 6f | 62 6a 65 63 74 73 2c 20 |ass of o|bjects, |
|00004a00| 6c 69 6b 65 20 61 20 46 | 6f 72 64 20 54 72 75 63 |like a F|ord Truc|
|00004a10| 6b 2c 20 69 73 20 64 65 | 74 65 72 6d 69 6e 65 64 |k, is de|termined|
|00004a20| 20 62 79 20 74 68 65 20 | 66 61 63 74 6f 72 79 20 | by the |factory |
|00004a30| 77 68 69 63 68 20 63 72 | 65 61 74 65 73 20 74 68 |which cr|eates th|
|00004a40| 65 20 74 72 75 63 6b 73 | 2e 20 20 49 66 20 49 20 |e trucks|. If I |
|00004a50| 68 61 64 20 61 20 46 6f | 72 64 20 54 72 75 63 6b |had a Fo|rd Truck|
|00004a60| 2c 20 49 20 77 6f 75 6c | 64 20 68 61 76 65 20 61 |, I woul|d have a|
|00004a70| 6e 20 69 6e 73 74 61 6e | 63 65 20 6f 66 20 74 68 |n instan|ce of th|
|00004a80| 65 20 74 72 75 63 6b 2e | 20 20 53 69 6d 69 6c 61 |e truck.| Simila|
|00004a90| 72 6c 79 20 77 65 20 68 | 61 76 65 20 63 6c 61 73 |rly we h|ave clas|
|00004aa0| 73 20 6f 66 20 6f 62 6a | 65 63 74 73 20 77 68 69 |s of obj|ects whi|
|00004ab0| 63 68 20 63 72 65 61 74 | 65 20 6e 65 77 20 69 6e |ch creat|e new in|
|00004ac0| 73 74 61 6e 63 65 73 20 | 6f 66 20 6f 62 6a 65 63 |stances |of objec|
|00004ad0| 74 73 2e 20 20 41 6e 64 | 20 74 68 65 73 65 20 61 |ts. And| these a|
|00004ae0| 72 65 20 6e 61 74 75 72 | 61 6c 6c 79 20 63 61 6c |re natur|ally cal|
|00004af0| 6c 65 64 20 ff 00 15 10 | 01 f7 66 61 63 74 6f 72 |led ....|..factor|
|00004b00| 79 20 6f 62 6a 65 63 74 | 73 ff 00 15 10 00 f7 2e |y object|s.......|
|00004b10| 0d 0d 4f 75 72 20 73 65 | 63 6f 6e 64 20 74 65 63 |..Our se|cond tec|
|00004b20| 68 6e 69 71 75 65 20 69 | 73 20 49 6e 68 65 72 69 |hnique i|s Inheri|
|00004b30| 74 61 6e 63 65 2e 20 20 | 57 68 65 6e 65 76 65 72 |tance. |Whenever|
|00004b40| 20 77 65 20 63 72 65 61 | 74 65 20 61 20 6e 65 77 | we crea|te a new|
|00004b50| 20 ff 00 15 10 01 f7 63 | 6c 61 73 73 ff 00 15 10 | ......c|lass....|
|00004b60| 00 f7 20 6f 66 20 6f 62 | 6a 65 63 74 73 2c 20 77 |.. of ob|jects, w|
|00004b70| 65 20 61 6c 77 61 79 73 | 20 63 72 65 61 74 65 20 |e always| create |
|00004b80| 69 74 20 72 65 6c 61 74 | 69 76 65 20 74 6f 20 6f |it relat|ive to o|
|00004b90| 74 68 65 72 20 6f 62 6a | 65 63 74 73 20 63 6c 61 |ther obj|ects cla|
|00004ba0| 73 73 65 73 2e 20 54 68 | 65 73 65 20 63 6c 61 73 |sses. Th|ese clas|
|00004bb0| 73 65 73 20 74 68 65 6e | 20 66 69 74 20 74 6f 67 |ses then| fit tog|
|00004bc0| 65 74 68 65 72 20 69 6e | 74 6f 20 61 20 22 74 72 |ether in|to a "tr|
|00004bd0| 65 65 22 20 6f 66 20 6f | 62 6a 65 63 74 20 63 6c |ee" of o|bject cl|
|00004be0| 61 73 73 65 73 2e 0d 02 | 76 0d ff 00 15 12 01 f7 |asses...|v.......|
|00004bf0| 53 61 6d 70 6c 65 20 49 | 6e 68 65 72 69 74 65 6e |Sample I|nheriten|
|00004c00| 63 65 20 54 72 65 65 ff | 00 15 10 00 f7 0d 0d 54 |ce Tree.|.......T|
|00004c10| 68 65 20 73 74 72 75 63 | 74 75 72 65 20 69 73 20 |he struc|ture is |
|00004c20| 76 65 72 79 20 73 69 6d | 69 6c 61 72 20 74 6f 20 |very sim|ilar to |
|00004c30| 61 6e 20 65 76 6f 6c 75 | 74 69 6f 6e 61 72 79 20 |an evolu|tionary |
|00004c40| 74 72 65 65 2e 20 20 54 | 68 65 20 20 6d 6f 73 74 |tree. T|he most|
|00004c50| 20 67 65 6e 65 72 61 6c | 20 63 6c 61 73 73 20 69 | general| class i|
|00004c60| 73 20 61 74 20 74 68 65 | 20 74 6f 70 2c 20 61 6e |s at the| top, an|
|00004c70| 64 20 65 61 63 68 20 63 | 6c 61 73 73 20 74 68 61 |d each c|lass tha|
|00004c80| 74 20 68 61 73 20 61 20 | 67 72 6f 75 70 20 6f 66 |t has a |group of|
|00004c90| 20 63 6f 6d 6d 6f 6e 20 | 63 68 61 72 61 63 74 65 | common |characte|
|00004ca0| 72 69 73 74 69 63 73 20 | 77 6f 75 6c 64 20 62 65 |ristics |would be|
|00004cb0| 20 61 20 6c 6f 77 65 72 | 20 63 6c 61 73 73 2e 20 | a lower| class. |
|00004cc0| 20 41 6e 20 69 6d 70 6f | 72 74 61 6e 74 20 70 6f | An impo|rtant po|
|00004cd0| 69 6e 74 20 68 65 72 65 | 20 69 73 20 74 68 61 74 |int here| is that|
|00004ce0| 20 79 6f 75 20 63 61 6e | 20 63 72 65 61 74 65 20 | you can| create |
|00004cf0| 61 6e 20 69 6e 73 74 61 | 6e 63 65 20 66 72 6f 6d |an insta|nce from|
|00004d00| 20 61 6e 79 20 6c 65 76 | 65 6c 20 69 6e 20 74 68 | any lev|el in th|
|00004d10| 65 20 74 72 65 65 2e 20 | 20 41 6e 64 20 77 68 65 |e tree. | And whe|
|00004d20| 6e 20 79 6f 75 20 74 68 | 69 6e 6b 20 6f 66 20 74 |n you th|ink of t|
|00004d30| 68 65 20 64 69 66 66 65 | 72 65 6e 63 65 20 62 65 |he diffe|rence be|
|00004d40| 74 77 65 65 6e 20 61 6e | 20 69 6e 73 74 61 6e 63 |tween an| instanc|
|00004d50| 65 20 6f 66 20 61 6e 20 | 6f 62 6a 65 63 74 20 61 |e of an |object a|
|00004d60| 6e 64 20 61 20 63 6c 61 | 73 73 20 6f 66 20 6f 62 |nd a cla|ss of ob|
|00004d70| 6a 65 63 74 2c 20 72 65 | 6d 65 6d 62 65 72 20 74 |ject, re|member t|
|00004d80| 68 61 74 20 61 72 65 20 | 61 73 20 64 69 66 66 65 |hat are |as diffe|
|00004d90| 72 65 6e 74 20 61 73 20 | 61 20 63 61 72 20 61 6e |rent as |a car an|
|00004da0| 64 20 61 20 66 61 63 74 | 6f 72 79 20 74 68 61 74 |d a fact|ory that|
|00004db0| 20 70 72 6f 64 75 63 65 | 73 20 63 61 72 73 2e 20 | produce|s cars. |
|00004dc0| 20 54 68 69 73 20 63 61 | 6e 20 62 65 20 64 69 66 | This ca|n be dif|
|00004dd0| 66 61 63 75 6c 74 20 66 | 6f 72 20 62 65 67 69 6e |facult f|or begin|
|00004de0| 6e 65 72 73 20 75 73 69 | 6e 67 20 49 6e 74 65 72 |ners usi|ng Inter|
|00004df0| 66 61 63 65 20 42 75 69 | 6c 64 65 72 20 62 65 63 |face Bui|lder bec|
|00004e00| 61 75 73 65 20 62 6f 74 | 68 20 63 6c 61 73 73 65 |ause bot|h classe|
|00004e10| 73 20 61 6e 64 20 69 6e | 73 74 61 6e 63 65 73 20 |s and in|stances |
|00004e20| 61 72 65 20 72 65 70 72 | 65 73 65 6e 74 65 64 20 |are repr|esented |
|00004e30| 62 79 20 73 6d 61 6c 6c | 20 77 69 6e 64 6f 77 73 |by small| windows|
|00004e40| 20 74 68 61 74 20 61 72 | 65 20 76 65 72 79 20 63 | that ar|e very c|
|00004e50| 6c 6f 73 65 20 74 6f 67 | 65 74 68 65 72 2e 0d 00 |lose tog|ether...|
|00004e60| a8 24 00 0c fa 00 13 a6 | 00 0c ca 00 00 a7 00 0c |.$......|........|
|00004e70| f2 01 32 24 00 10 28 00 | d2 34 00 11 a1 01 1f 34 |..2$..(.|.4.....4|
|00004e80| 00 02 86 00 15 24 00 14 | 94 01 7e 2c 00 02 97 00 |.....$..|..~,....|
|00004e90| e6 3c 00 04 b6 01 5a 0c | 00 19 0d 00 85 34 00 1a |.<....Z.|.....4..|
|00004ea0| 0e 02 03 0c 00 07 b4 00 | 13 3c 00 07 b7 00 ad 3c |........|.<.....<|
|00004eb0| 00 08 fb 00 9a 34 00 1f | 3b 00 d5 24 00 21 46 01 |.....4..|;..$.!F.|
|00004ec0| 30 14 00 24 12 01 7c 04 | 00 46 d7 00 e4 34 00 28 |0..$..|.|.F...4.(|
|00004ed0| 4d 01 6f 24 00 2b ae 00 | d1 34 00 41 c9 01 5a 04 |M.o$.+..|.4.A..Z.|
|00004ee0| 00 45 37 00 72 34 00 32 | b6 00 e8 04 00 35 35 01 |.E7.r4.2|.....55.|
|00004ef0| 43 34 00 49 39 01 0e 24 | 00 4b e7 00 f9 24 00 3d |C4.I9..$|.K...$.=|
|00004f00| 9c 00 39 34 00 3e 16 00 | 87 03 2d ff 00 15 10 02 |..94.>..|..-.....|
|00004f10| f7 f5 f6 54 68 69 73 20 | 69 73 20 6d 79 20 73 63 |...This |is my sc|
|00004f20| 72 69 70 74 20 66 6f 72 | 20 74 68 65 20 56 69 65 |ript for| the Vie|
|00004f30| 77 47 72 61 70 68 73 2e | 20 20 49 66 20 79 6f 75 |wGraphs.| If you|
|00004f40| 20 72 75 6e 20 61 63 72 | 6f 73 73 20 61 20 73 65 | run acr|oss a se|
|00004f50| 74 20 6f 66 20 73 71 75 | 61 72 65 20 62 72 61 63 |t of squ|are brac|
|00004f60| 6b 65 74 73 2c 20 79 6f | 75 20 63 61 6e 20 63 68 |kets, yo|u can ch|
|00004f70| 6f 6f 73 65 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |oose one| of the |
|00004f80| 74 77 6f 20 70 68 72 61 | 73 65 73 20 62 61 73 65 |two phra|ses base|
|00004f90| 64 20 6f 6e 20 74 68 65 | 20 67 72 6f 75 70 20 79 |d on the| group y|
|00004fa0| 6f 75 20 61 72 65 20 74 | 61 6c 6b 69 6e 67 20 74 |ou are t|alking t|
|00004fb0| 6f 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 20 |o. For |example |
|00004fc0| 61 20 70 72 65 73 65 6e | 74 61 74 69 6f 6e 20 74 |a presen|tation t|
|00004fd0| 6f 20 61 6e 20 61 63 61 | 64 65 6d 69 63 20 61 75 |o an aca|demic au|
|00004fe0| 64 69 65 6e 63 65 20 6d | 69 67 68 74 20 75 73 65 |dience m|ight use|
|00004ff0| 20 ff 00 15 10 00 f7 63 | 6f 75 72 73 65 77 61 72 | ......c|oursewar|
|00005000| 65 ff 00 15 10 02 f7 20 | 61 6e 64 20 74 6f 20 61 |e...... |and to a|
|00005010| 20 66 6f 72 74 75 6e 65 | 20 35 30 30 20 63 6f 6d | fortune| 500 com|
|00005020| 70 61 6e 79 20 6d 69 67 | 68 74 20 75 73 65 20 ff |pany mig|ht use .|
|00005030| 00 15 10 00 f7 70 72 6f | 64 75 63 74 69 76 69 74 |.....pro|ductivit|
|00005040| 79 20 73 6f 6c 75 74 69 | 6f 6e 73 ff 00 15 10 02 |y soluti|ons.....|
|00005050| f7 2e 0d 0d ff 00 15 12 | 01 f7 54 68 65 20 53 6f |........|..The So|
|00005060| 66 74 77 61 72 65 20 43 | 72 69 73 69 73 0d ff 00 |ftware C|risis...|
|00005070| 15 10 02 f7 0d ff 00 15 | 10 00 f7 49 20 77 6f 75 |........|...I wou|
|00005080| 6c 64 20 6c 69 6b 65 20 | 74 6f 20 74 61 6c 6b 20 |ld like |to talk |
|00005090| 74 6f 20 79 6f 75 20 61 | 62 6f 75 74 20 61 20 63 |to you a|bout a c|
|000050a0| 72 69 73 69 73 2e 20 41 | 20 43 72 69 73 69 73 20 |risis. A| Crisis |
|000050b0| 74 68 61 74 20 68 61 73 | 20 62 65 65 6e 20 67 6f |that has| been go|
|000050c0| 69 6e 67 20 6f 6e 20 69 | 6e 20 74 68 65 20 73 6f |ing on i|n the so|
|000050d0| 66 74 77 61 72 65 20 69 | 6e 64 75 73 74 72 79 20 |ftware i|ndustry |
|000050e0| 66 6f 72 20 74 68 65 20 | 6c 61 73 74 20 73 65 76 |for the |last sev|
|000050f0| 65 72 61 6c 20 79 65 61 | 72 73 2e 20 20 41 20 63 |eral yea|rs. A c|
|00005100| 72 69 73 69 73 20 73 6f | 20 73 65 76 65 72 65 20 |risis so| severe |
|00005110| 74 68 61 74 20 69 74 20 | 68 61 73 20 62 65 65 6e |that it |has been|
|00005120| 20 63 61 6c 6c 65 64 20 | 61 6e 20 65 70 69 64 65 | called |an epide|
|00005130| 6d 69 63 2e 20 20 49 74 | 20 6f 63 63 75 72 72 65 |mic. It| occurre|
|00005140| 64 20 62 65 63 61 75 73 | 65 20 73 6f 66 74 77 61 |d becaus|e softwa|
|00005150| 72 65 20 64 65 76 65 6c | 6f 70 65 72 73 20 68 61 |re devel|opers ha|
|00005160| 76 65 20 62 65 65 6e 20 | 63 6f 6e 74 69 6e 75 61 |ve been |continua|
|00005170| 6c 6c 79 20 61 64 64 69 | 6e 67 20 66 65 61 74 75 |lly addi|ng featu|
|00005180| 72 65 73 20 74 6f 20 6f | 6c 64 20 70 72 6f 67 72 |res to o|ld progr|
|00005190| 61 6d 73 20 75 6e 74 69 | 6c 20 74 68 65 79 20 62 |ams unti|l they b|
|000051a0| 65 63 6f 6d 65 20 69 6d | 70 6f 73 73 69 62 6c 65 |ecome im|possible|
|000051b0| 20 74 6f 20 6d 61 6e 61 | 67 65 20 65 66 66 69 63 | to mana|ge effic|
|000051c0| 69 65 6e 74 6c 79 2e 20 | 20 45 76 65 72 79 20 74 |iently. | Every t|
|000051d0| 69 6d 65 20 74 68 65 79 | 20 77 61 6e 74 20 74 6f |ime they| want to|
|000051e0| 20 61 64 64 20 61 20 6e | 65 77 20 66 65 61 74 75 | add a n|ew featu|
|000051f0| 72 65 20 74 68 65 79 20 | 69 6e 74 72 6f 64 75 63 |re they |introduc|
|00005200| 65 20 74 77 6f 20 6e 65 | 77 20 62 75 67 73 2c 20 |e two ne|w bugs, |
|00005210| 61 6e 64 20 66 69 78 69 | 6e 67 20 74 68 6f 73 65 |and fixi|ng those|
|00005220| 20 62 75 67 73 20 63 72 | 65 61 74 65 73 20 6e 65 | bugs cr|eates ne|
|00005230| 77 20 62 75 67 73 2e 0d | 00 a8 24 00 4f 09 00 13 |w bugs..|..$.O...|
|00005240| a6 00 0c ca 00 00 a7 00 | 0c f2 01 32 24 00 10 28 |........|...2$..(|
|00005250| 00 d2 34 00 11 a1 01 1f | 34 00 02 86 00 15 24 00 |..4.....|4.....$.|
|00005260| 14 94 01 7e 2c 00 02 97 | 00 e6 3c 00 04 b6 01 5a |...~,...|..<....Z|
|00005270| 0c 00 19 0d 00 85 34 00 | 1a 0e 02 03 0c 00 07 b4 |......4.|........|
|00005280| 00 13 3c 00 07 b7 00 ad | 3c 00 08 fb 00 9a 34 00 |..<.....|<.....4.|
|00005290| 1f 3b 00 d5 24 00 21 46 | 01 30 14 00 24 12 01 7c |.;..$.!F|.0..$..||
|000052a0| 04 00 46 d7 00 e4 34 00 | 28 4d 01 6f 24 00 2b ae |..F...4.|(M.o$.+.|
|000052b0| 00 d1 34 00 41 c9 01 5a | 04 00 45 37 00 72 34 00 |..4.A..Z|..E7.r4.|
|000052c0| 32 b6 00 e8 04 00 35 35 | 01 43 34 00 49 39 01 0e |2.....55|.C4.I9..|
|000052d0| 24 00 4b e7 00 f9 24 00 | 3d 9c 00 39 34 00 3e 16 |$.K...$.|=..94.>.|
|000052e0| 00 87 02 cb 0d 41 6e 6f | 74 68 65 72 20 61 64 76 |.....Ano|ther adv|
|000052f0| 61 6e 74 61 67 65 20 69 | 73 20 74 68 61 74 20 79 |antage i|s that y|
|00005300| 6f 75 20 6d 69 6e 69 6d | 69 7a 65 20 74 68 65 20 |ou minim|ize the |
|00005310| 61 6d 6f 75 6e 74 20 6f | 66 20 77 6f 72 6b 20 74 |amount o|f work t|
|00005320| 68 61 74 20 68 61 73 20 | 74 6f 20 62 65 20 72 65 |hat has |to be re|
|00005330| 2d 64 6f 6e 65 20 69 66 | 20 79 6f 75 72 20 70 61 |-done if| your pa|
|00005340| 72 74 69 74 69 6f 6e 69 | 6e 67 20 64 6f 65 73 20 |rtitioni|ng does |
|00005350| 6e 6f 79 20 77 6f 72 6b | 20 6f 75 74 2e 0d 54 68 |noy work| out..Th|
|00005360| 69 73 20 69 73 20 62 65 | 63 61 75 73 65 20 70 65 |is is be|cause pe|
|00005370| 6f 70 6c 65 20 6f 66 74 | 65 6e 20 73 70 65 6e 64 |ople oft|en spend|
|00005380| 20 61 20 67 72 65 61 74 | 20 64 65 61 6c 20 6f 66 | a great| deal of|
|00005390| 20 74 69 6d 65 20 64 6f | 69 6e 67 20 6c 6f 77 20 | time do|ing low |
|000053a0| 6c 65 76 65 6c 20 64 65 | 74 61 69 6c 65 64 20 77 |level de|tailed w|
|000053b0| 6f 72 6b 20 74 68 61 74 | 20 6d 75 73 74 20 62 65 |ork that| must be|
|000053c0| 20 74 68 72 6f 77 6e 20 | 6f 75 74 20 61 66 74 65 | thrown |out afte|
|000053d0| 72 20 74 68 65 79 20 67 | 65 74 20 74 6f 20 61 20 |r they g|et to a |
|000053e0| 68 69 67 68 20 6c 65 76 | 65 6c 20 61 6e 64 20 72 |high lev|el and r|
|000053f0| 65 61 6c 69 7a 65 20 74 | 68 65 79 20 68 61 76 65 |ealize t|hey have|
|00005400| 20 74 6f 20 72 65 2d 70 | 61 72 74 69 74 69 6f 6e | to re-p|artition|
|00005410| 20 74 68 65 69 72 20 6d | 6f 64 65 6c 2e 0d 0d 4f | their m|odel...O|
|00005420| 6e 65 20 6f 66 20 74 68 | 65 20 68 69 64 64 65 6e |ne of th|e hidden|
|00005430| 20 62 65 6e 65 66 69 74 | 73 20 6f 66 20 74 68 65 | benefit|s of the|
|00005440| 20 63 6c 65 61 72 20 70 | 61 72 74 69 74 69 6f 6e | clear p|artition|
|00005450| 69 6e 67 20 6f 66 20 74 | 68 65 20 70 72 6f 62 6c |ing of t|he probl|
|00005460| 65 6d 20 69 6e 74 6f 20 | 6f 62 6a 65 63 74 73 20 |em into |objects |
|00005470| 69 73 20 74 68 61 74 20 | 74 68 65 20 73 74 72 75 |is that |the stru|
|00005480| 63 74 75 72 65 20 6f 66 | 20 74 68 65 20 63 6f 64 |cture of| the cod|
|00005490| 65 20 74 65 6e 64 73 20 | 74 6f 20 62 65 20 6d 75 |e tends |to be mu|
|000054a0| 63 68 20 6d 6f 72 65 20 | 73 65 6c 66 20 64 6f 63 |ch more |self doc|
|000054b0| 75 6d 65 6e 74 69 6e 67 | 2e 20 20 49 66 20 61 6c |umenting|. If al|
|000054c0| 6c 20 74 68 65 20 63 6f | 64 65 20 74 6f 20 6d 61 |l the co|de to ma|
|000054d0| 6e 69 70 75 6c 61 74 65 | 20 61 6e 20 6f 62 6a 65 |nipulate| an obje|
|000054e0| 63 74 20 69 73 20 74 6f | 67 65 74 68 65 72 2c 20 |ct is to|gether, |
|000054f0| 79 6f 75 20 6b 6e 6f 77 | 20 ff 00 15 10 01 f7 77 |you know| ......w|
|00005500| 68 79 ff 00 15 10 00 f7 | 20 74 68 61 74 20 63 6f |hy......| that co|
|00005510| 64 65 20 69 73 20 74 68 | 65 72 65 20 61 6e 64 20 |de is th|ere and |
|00005520| 77 68 61 74 20 69 74 73 | 20 66 75 6e 63 74 69 6f |what its| functio|
|00005530| 6e 20 69 73 2e 20 20 53 | 6f 20 69 66 20 79 6f 75 |n is. S|o if you|
|00005540| 20 61 72 65 20 6c 6f 6f | 6b 69 6e 67 20 61 74 20 | are loo|king at |
|00005550| 6f 74 68 65 72 20 70 65 | 6f 70 6c 65 73 20 6f 62 |other pe|oples ob|
|00005560| 6a 65 63 74 73 2c 20 79 | 6f 75 20 63 61 6e 20 65 |jects, y|ou can e|
|00005570| 78 70 65 63 74 20 74 6f | 20 73 70 65 6e 64 20 61 |xpect to| spend a|
|00005580| 20 6c 6f 74 20 6c 65 73 | 73 20 74 69 6d 65 20 6c | lot les|s time l|
|00005590| 6f 6f 6b 69 6e 67 20 74 | 68 72 6f 75 67 68 20 64 |ooking t|hrough d|
|000055a0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 2e 0d 0d 00 |ocumenta|tion....|
|000055b0| a8 24 00 4f 09 00 13 a6 | 00 0c ca 00 00 a7 00 0c |.$.O....|........|
|000055c0| f2 01 32 24 00 10 28 00 | d2 34 00 11 a1 01 1f 34 |..2$..(.|.4.....4|
|000055d0| 00 02 86 00 15 24 00 14 | 94 01 7e 2c 00 02 97 00 |.....$..|..~,....|
|000055e0| e6 3c 00 04 b6 01 5a 0c | 00 19 0d 00 85 34 00 1a |.<....Z.|.....4..|
|000055f0| 0e 02 03 0c 00 07 b4 00 | 13 3c 00 07 b7 00 ad 3c |........|.<.....<|
|00005600| 00 08 fb 00 9a 34 00 1f | 3b 00 d5 24 00 52 e2 01 |.....4..|;..$.R..|
|00005610| 30 14 00 24 12 01 7c 04 | 00 46 d7 00 e4 34 00 28 |0..$..|.|.F...4.(|
|00005620| 4d 01 6f 24 00 2b ae 00 | d1 34 00 41 c9 01 5a 04 |M.o$.+..|.4.A..Z.|
|00005630| 00 45 37 00 72 34 00 32 | b6 00 e8 04 00 35 35 01 |.E7.r4.2|.....55.|
|00005640| 43 34 00 49 39 01 0e 24 | 00 4b e7 00 f9 24 00 3d |C4.I9..$|.K...$.=|
|00005650| 9c 00 39 34 00 3e 16 00 | 87 02 cb 0d 41 6e 6f 74 |..94.>..|....Anot|
|00005660| 68 65 72 20 61 64 76 61 | 6e 74 61 67 65 20 69 73 |her adva|ntage is|
|00005670| 20 74 68 61 74 20 79 6f | 75 20 6d 69 6e 69 6d 69 | that yo|u minimi|
|00005680| 7a 65 20 74 68 65 20 61 | 6d 6f 75 6e 74 20 6f 66 |ze the a|mount of|
|00005690| 20 77 6f 72 6b 20 74 68 | 61 74 20 68 61 73 20 74 | work th|at has t|
|000056a0| 6f 20 62 65 20 72 65 2d | 64 6f 6e 65 20 69 66 20 |o be re-|done if |
|000056b0| 79 6f 75 72 20 70 61 72 | 74 69 74 69 6f 6e 69 6e |your par|titionin|
|000056c0| 67 20 64 6f 65 73 20 6e | 6f 74 20 77 6f 72 6b 20 |g does n|ot work |
|000056d0| 6f 75 74 2e 0d 54 68 69 | 73 20 69 73 20 62 65 63 |out..Thi|s is bec|
|000056e0| 61 75 73 65 20 70 65 6f | 70 6c 65 20 6f 66 74 65 |ause peo|ple ofte|
|000056f0| 6e 20 73 70 65 6e 64 20 | 61 20 67 72 65 61 74 20 |n spend |a great |
|00005700| 64 65 61 6c 20 6f 66 20 | 74 69 6d 65 20 64 6f 69 |deal of |time doi|
|00005710| 6e 67 20 6c 6f 77 20 6c | 65 76 65 6c 20 64 65 74 |ng low l|evel det|
|00005720| 61 69 6c 65 64 20 77 6f | 72 6b 20 74 68 61 74 20 |ailed wo|rk that |
|00005730| 6d 75 73 74 20 62 65 20 | 74 68 72 6f 77 6e 20 6f |must be |thrown o|
|00005740| 75 74 20 61 66 74 65 72 | 20 74 68 65 79 20 67 65 |ut after| they ge|
|00005750| 74 20 74 6f 20 61 20 68 | 69 67 68 20 6c 65 76 65 |t to a h|igh leve|
|00005760| 6c 20 61 6e 64 20 72 65 | 61 6c 69 7a 65 20 74 68 |l and re|alize th|
|00005770| 65 79 20 68 61 76 65 20 | 74 6f 20 72 65 2d 70 61 |ey have |to re-pa|
|00005780| 72 74 69 74 69 6f 6e 20 | 74 68 65 69 72 20 6d 6f |rtition |their mo|
|00005790| 64 65 6c 2e 0d 0d 4f 6e | 65 20 6f 66 20 74 68 65 |del...On|e of the|
|000057a0| 20 68 69 64 64 65 6e 20 | 62 65 6e 65 66 69 74 73 | hidden |benefits|
|000057b0| 20 6f 66 20 74 68 65 20 | 63 6c 65 61 72 20 70 61 | of the |clear pa|
|000057c0| 72 74 69 74 69 6f 6e 69 | 6e 67 20 6f 66 20 74 68 |rtitioni|ng of th|
|000057d0| 65 20 70 72 6f 62 6c 65 | 6d 20 69 6e 74 6f 20 6f |e proble|m into o|
|000057e0| 62 6a 65 63 74 73 20 69 | 73 20 74 68 61 74 20 74 |bjects i|s that t|
|000057f0| 68 65 20 73 74 72 75 63 | 74 75 72 65 20 6f 66 20 |he struc|ture of |
|00005800| 74 68 65 20 63 6f 64 65 | 20 74 65 6e 64 73 20 74 |the code| tends t|
|00005810| 6f 20 62 65 20 6d 75 63 | 68 20 6d 6f 72 65 20 73 |o be muc|h more s|
|00005820| 65 6c 66 20 64 6f 63 75 | 6d 65 6e 74 69 6e 67 2e |elf docu|menting.|
|00005830| 20 20 49 66 20 61 6c 6c | 20 74 68 65 20 63 6f 64 | If all| the cod|
|00005840| 65 20 74 6f 20 6d 61 6e | 69 70 75 6c 61 74 65 20 |e to man|ipulate |
|00005850| 61 6e 20 6f 62 6a 65 63 | 74 20 69 73 20 74 6f 67 |an objec|t is tog|
|00005860| 65 74 68 65 72 2c 20 79 | 6f 75 20 6b 6e 6f 77 20 |ether, y|ou know |
|00005870| ff 00 15 10 01 f7 77 68 | 79 ff 00 15 10 00 f7 20 |......wh|y...... |
|00005880| 74 68 61 74 20 63 6f 64 | 65 20 69 73 20 74 68 65 |that cod|e is the|
|00005890| 72 65 20 61 6e 64 20 77 | 68 61 74 20 69 74 73 20 |re and w|hat its |
|000058a0| 66 75 6e 63 74 69 6f 6e | 20 69 73 2e 20 20 53 6f |function| is. So|
|000058b0| 20 69 66 20 79 6f 75 20 | 61 72 65 20 6c 6f 6f 6b | if you |are look|
|000058c0| 69 6e 67 20 61 74 20 6f | 74 68 65 72 20 70 65 6f |ing at o|ther peo|
|000058d0| 70 6c 65 73 20 6f 62 6a | 65 63 74 73 2c 20 79 6f |ples obj|ects, yo|
|000058e0| 75 20 63 61 6e 20 65 78 | 70 65 63 74 20 74 6f 20 |u can ex|pect to |
|000058f0| 73 70 65 6e 64 20 61 20 | 6c 6f 74 20 6c 65 73 73 |spend a |lot less|
|00005900| 20 74 69 6d 65 20 6c 6f | 6f 6b 69 6e 67 20 74 68 | time lo|oking th|
|00005910| 72 6f 75 67 68 20 64 6f | 63 75 6d 65 6e 74 61 74 |rough do|cumentat|
|00005920| 69 6f 6e 2e 0d 0d 00 a8 | 24 00 4f 09 00 13 a6 00 |ion.....|$.O.....|
|00005930| 0c ca 00 00 a7 00 0c f2 | 01 32 24 00 10 28 00 d2 |........|.2$..(..|
|00005940| 34 00 11 a1 01 1f 34 00 | 02 86 00 15 24 00 14 94 |4.....4.|....$...|
|00005950| 01 7e 2c 00 02 97 00 e6 | 3c 00 04 b6 01 5a 0c 00 |.~,.....|<....Z..|
|00005960| 19 0d 00 85 34 00 1a 0e | 02 03 0c 00 07 b4 00 13 |....4...|........|
|00005970| 3c 00 07 b7 00 ad 3c 00 | 08 fb 00 9a 34 00 1f 3b |<.....<.|....4..;|
|00005980| 00 d5 24 00 56 59 01 30 | 14 00 24 12 01 7c 04 00 |..$.VY.0|..$..|..|
|00005990| 46 d7 00 e4 34 00 28 4d | 01 6f 24 00 2b ae 00 d1 |F...4.(M|.o$.+...|
|000059a0| 34 00 41 c9 01 5a 04 00 | 45 37 00 72 34 00 32 b6 |4.A..Z..|E7.r4.2.|
|000059b0| 00 e8 04 00 35 35 01 43 | 34 00 49 39 01 0e 24 00 |....55.C|4.I9..$.|
|000059c0| 4b e7 00 f9 24 00 3d 9c | 00 39 34 00 3e 16 00 87 |K...$.=.|.94.>...|
+--------+-------------------------+-------------------------+--------+--------+