Planning Changes
methods, instantiating objects, using objects, calling methods, parameters, return values
Planning Changes:
Planning changes means deciding what needs to be fixed or improved in your project before you start. Think of it as making a list of tasks you need to do.
Example: If you’re building a website, you might plan to fix broken links, change the design, or add new pages.
Example:
Checklists:
A checklist is a list of tasks you need to complete, helping you stay organized and ensuring you don’t forget anything.
Example: If you’re fixing a bug in your code, your checklist might include:
- Find the bug
- Fix the code
- Test the fix
- Update documentation
Burndowns:
A burndown chart is a visual way of tracking your progress on a project. It shows how much work is left over time. You can think of it as a “countdown” to the finish line, where the goal is to have zero tasks remaining by the end.
Example: If you have 10 tasks to finish in a week, the burndown chart would show the number of tasks left each day, so you can see if you’re on track.
Example:
Coding with Comments:
When you write code, comments are notes you add to explain what the code does. This makes it easier for you or others to understand your code later.
Example:
- The green is comments explaining/identifying the code
////////// game object for player /////////
class Mario {
constructor(meta_data) {
this.tID = null; //capture setInterval() task ID
this.positionX = 0; // current position of sprite in X direction
this.currentSpeed = 0;
this.marioElement = document.getElementById("mario"); //HTML element of sprite
this.pixels = ; //pixel offset of images in the sprite, set by liquid constant
this.interval = 100; //animation time interval
this.obj = meta_data;
this.marioElement.style.position = "absolute";
}
Building Develpment Help Documentation:
Documentation is like a user manual for your code or project. It explains how to use the project, how to fix common issues, and how others can contribute to it.
- Example: You could write a simple document that explains how to install your app, what features it has, and how people can report bugs.