This
video
[9:36 minutes]
extends the accumulator pattern from the summing pattern that
you have seen previously
to include the counting and in-graphics accumulator
patterns.
The video uses a graphics system call Zellegraphics that preceded
RoseGraphics, so you will see zg instead of rg
and other such small changes from what we use now.
First Do a Concrete Example By Hand
This video
[10:39 minutes]
works through an example of a technique that you will use often.
Note: The video uses the following example: Given a line, draw a
diamond from the line.
The video should have said that the given line is the
upper-left
line of the diamond. (Instead, the video wrongly spoke of "positive
slope".)
Pair Programming
Watch this YouTube
video on pair programming [2:51 minutes]. (Note: this link will open in a new
tab or window, not
inside this window.)
The video was developed by the folks at code
.org,
a terrific site and organization.
You will often use Pair Programming in this course,
starting in Session 4.
Pair Programming is a real-life technique, per the
next item.
[Optiona] If you want to learn more about
pair programming , you might find the following links
interesting:
Pair
Programming as described at the organization Agile
Alliance that started a revolution in Software Development
in 2001 that persists to this day. You might also enjoy reading
the Agile
Manifesto that started it all.
Follow the above link to read the page at the link,
but you do not have to follow the links on that page to other
pages.
Optional additional reading:
Test-First Programming (a subset of Test-Driven Programming, TDD)
is widely used in Agile Software Development Processes,
as described at length in this optionalAgile 101 article.
You might find it helpful to review
previous videos, especially the ones on: