© Michael Stueben 2018
Michael StuebenGood Habits for Great Codinghttps://doi.org/10.1007/978-1-4842-3459-4_15

15. A Lesson in Design

Michael Stueben1 
(1)
Falls Church, Virginia, USA
 

Mr. Sokolsky rose from his desk and moved to the computer console in the front of the classroom. This was his fourth day of teaching the Advanced Computer Science class at Smallville High School. He had taken over for Pam Jones, who was on medical leave. Mr. Sokolsky faced a sea of unsmiling faces.

“I assume everyone has finished the first assignment. I’ll come around later and examine each of your programs. But I would like to have one student demonstrate his or her program for the class. Can I have a volunteer?”

No one raised a hand. Mr. Sokolsky picked up his gradebook ...

Get Good Habits for Great Coding: Improving Programming Skills with Examples in Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.