The Phonebook App
See the phonebook app in action.
We'll cover the following
Patterns implementation
Before completing the pattern matching, it’s possible to add two routines to categorize, and hence simplify the printing output.
- The first of these functions,
registryAction
, conveys a message that signals the completion of a write action. It’s suitable for thecreate
anddelete
pattern primitives. - The second,
showRegistryData
, prints formatted registry contents, and works well with theall
andsearch
pattern primitives, which are extensions of the phonebook’s read faculty.
Get hands-on with 1200+ tech skills courses.