Taehl wrote:Just a quick note, but you don't need to check if something equals true - unless the variable is nil or false, it will be evaluated as true. Likewise, saying "a and b" ITSELF will equal true or false. It sounds crazy, but short-circuit evaluation is really handy and convenient once you get comfortable with it. For example, your statement:
Being bulky isn't too much of a problem while you are learning to program. Your first goal should be getting the results you desire working, code optimization usually comes later if at all.
If you try to optimize everything early you'll likely get frustrated.