Handy reference guide to (the programming part of) this project
- object
an instance of something that does or is something. anything. doing nothing also counts as doing something, as long as you declare it to be that way. Example: Mama Bear.
- class
the category under which an object falls. Example: Mama Bear is a member of the Bear class.
- interface
a smorgasboard of methods, variables, integers--virtually anything--that a class can accept if it wants. It just has to promise that it deals with every element in the smorgasboard. Or else.
- to extend a class
to accept everything that a new class has declared as your own, specializing some or all of the data (hence the word "extend").
- to implement an interface
to sign a binding contract with a bunch of methods and variables.
- method
an action statement, or a bunch of statements, that make an object do something. anything. doing nothing also counts as doing something, as long as you declare it to be that way. Examples: Sleep, Play, Eat Porridge.
- to have a reference to
to explicitly know about a class or type. Example: Mama Bear has a reference to Goldilocks.
- to contain
to have in your possession, usually as a result of creating something. Example: Mama Bear contains Baby Bear.
- if/else
conditional statements. Example:
if the bed is too hard, Goldilocks will test the next bed
else Goldilocks will sleep.
( i write | i program | i take an english class )