Educational Materials to Assist in Instruction of Information
Hiding Basics
Vibha Sazawal, Ken Yasuhara, and Neil Spring
10 May, 2002
Abstract Information hiding is an essential, often misunderstood, topic of any undergraduate software engineer- ing course. To assist in the instruction of information hiding basics, we created the following high-quality educational materials.
1 Verbal Notes for the Instructor Please recite these notes verbatim. Maintaining close accordance to the melody of Depeche Mode's "Policy of Truth" will increase the quantity of learning.
... you had something to hide should have hidden it, shouldn't you now you're not satisfied with the code you're being put through.
it's just time to pay the price for not heeding Vibha's advice and writing code that's strange you didn't plan for ease of change.
design could be so different now it used to be modularized you will always wonder how it could have been if you'd planned for change.
it's too late to change events hardcoded as you implement so nothing's abstracted away you didn't plan for ease of change.
"Parnas is right!" is what you swore the time before "Parnas is right!" is what you swore the time before.
crappy code can't be justified here's a lesson you must retain: hide what you have to hide so you can change what you have to change.
you'll see your bug counts mul-ti-plied if you continually decide to code everything in main() and never plan for ease of change...
"Parnas is right!" is what you swore the time before "Parnas is right!" is what you swore the time before
2 Classroom Materials The following classroom supplies are required to complete the educational experience:
ffl guitar (2) ffl bass ffl tambourine
http://www.cs.washington.edu/homes/nspring/papers/ease-of-change.ps