O'Reilly logo

Learn to Program with Phrogram™!: A Guide to Learning Through Game Programming Using the Latest Version of Kids Programming Language by David Witus, Walt Morrison, Jon Schwartz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Section 6Organize Your Program as It Grows

Using Methods That You Create 69Exercise: Why Good Names Are Better Than Bad Names 71

This is another fairly short section, but we bet you don't mind. The next section will be another big one—you're going to create your complete game in the next section! So, this section is really about only one new concept: using methods that you create on your own, in addition to Method Main(), to organize your program. The larger a program gets, the more important this becomes, to make your program easier for yourself and others to understand. This will be much more important with the full game, but let's practice and explain it here in our reorganized program, which does exactly the same things as our last example: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required