Big ideas
Big ideas explain why things are done the way they are.
Big Idea | Summary | References |
---|---|---|
Decomposition |
Break down complex tasks into simpler tasks. Do the simpler tasks one at a time. | |
Don't repeat yourself |
Write similar code once. Put it in a @Sub@. Use params to tell the @Sub@ what to do differently each time the @Sub@ is called. | Reusing code |
Encapsulation |
Take a chunk of functionality, and make it into a subroutine. | Subing a program |
Help your brain be effective |
||
Less screaming Emotion, Frustration, Screaming |
Programming is frustrating. That can be a big energy drain. There are things you can do to reduce frustration, and scream less. | |
Make programs easy to change |
Programmers spend a lot of time changing programs that have already been written. Make it easy, | User input and flags |