In this video, Doug Winnie demonstrates how you can become better at breaking down steps by reading along already written code and see how steps and groupings of actions that need to take place. Through reading your own code, you can learn how to better describe what needs to be done in code for yourself and others to make sure that important steps aren't missed or lost.
- [Narrator] Everything we do in coding happens literally.…If it doesn't exist in code it isn't going to happen.…So when we think about the steps we take in our programming,…we have to break things down in every granular step…that is defined by a line of code.…In Java we can think of these steps as two things.…Each individual line of code is considered a step.…While a function is considered a grouping.…If we look at the code here,…we can use these things to walk through what we are doing.…At the start we have a step.…
First I need to define that we will have…a score in our program.…Then you have two function calls,…which you can say like this.…I initialize the values that are in the game,…and then I change the game score.…But while that is what is happening in the game,…it isn't very descriptive,…and it lacks the steps that are necessary…to go through everything.…In this case we would break these down…into individual steps that are all…located within the functions.…So, we would better describe it if we said it this way.…
- The history of Java
- Setting up your development environment
- Working with values and variables
- Using methods and functions
- Capturing user input
- Creating conditional tests
- Using loops
- Creating and changing arrays
- Object-oriented programming in Java
- Defining permissions
- Extending classes
Skill Level Beginner
Java Essential Training for Studentswith Peggy Fisher3h 6m Intermediate
Computer Science Principles: The Internetwith Doug Winnie59m 30s Beginner
1. Intro to Java
2. Define Actions Using Code
3. Repeat Actions and Test for Conditions
4. Object-Oriented Programming Basics
Next steps1m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.