School of Computer Science
CPS109 Computer Science 1
Chapter 2 Using Objects
Chapter 3 Implementing Classes
Here is the explanation and code for the Shoe Factory example and Alex's Scribblings
Lynn, Massachusetts, 1895
Alone at your stations, you keep sewing in tongues, another
girl's job-- hand-stitch the eyelets. How many pairs did it
take to unlock the door, step into a dreamless twilight--
At a boarding house in candle dim, a bit of time to wash
away grit, and worry: The foreman hired by owners on the
hill, what will he take? How many stillbirths did you bury?
Peaked, your own shoes worn through and not a dime to
save, Taylor's way? All this kindled whispers and when hell
could not be traded, your brave walked out into daylight.
Men hired to knock billyclubs against auburn tresses said
you spread backtalk against the boss, riled a strike. Who
knew during taper hours you read Adam Bede and The Copperhead.
The photo hides maimed fingers, bones bowed by rickets.
After influenza, orphan-daughters owned no Sunday-best.
They fashioned ladies' hightops and paid their mothers'
This single room is home to three shoe factory workers. The back door leads to the communal bathroom, kitchen and laundry facilities. These living conditions are typical for all shoe and garment factory workers in Tangerang, Indonesia where the average wage is less than $5/day.