Home Segments Top Top Previous Next

349: Mainline

Suppose that you have begun to think about a movie application, but you have not yet written any portion of that movie application. Following the principle that you should think first and hack later, you start off with a design phase, during which you think about what classes and methods you will need in your movie application.

In particular, suppose that you decide that there shall be a Movie class, that class shall have a rating method, and that rating method shall have no ordinary arguments and shall return an integer.