- No matter how good of a programmer you are,…you will have errors in your code,…and there are two main types of errors that you'll encounter,…syntax errors and runtime exceptions.…Syntax, or parsing, errors are usually the first type…of problem you run into, and those are the little typos…and other mistakes that make your code invalid…so that it can't even be run.…And fortunately, those are pretty easy to handle.…Most development tools will instantly detect…syntax errors in your code, and they'll let you know…where there's a problem so you can go fix it.…Once you have a valid program,…the next worry are exceptions,…and these are the problems that occur…when your program is running,…and it tries to do something illegal,…like divide by zero.…
Numerous issues can cause these exceptions,…so it's important to incorporate error handling…into your code to detect when these problems occur.…And in many cases, the program can take some sort…of action to recover from the error.…I've made a lot of phone calls today,…and my battery's almost dead.…
- Reusing functions
- Local vs. global variables
- Creating and naming custom objects
- Class inheritance
- Modules and packages
- Multidimensional lists and tuples
- Queues and stacks
- Creating and combining sets
- Storing data in dictionaries
- If/else and switch statements
- For vs. while loops
- Error handling
- Polling and event-driven programming
Skill Level Beginner
3. Class Inheritance
4. Modules and Packages
5. Lists and Tuples
6. Queues and Stacks
9. Conditional Execution
11. Error Handling
12. Polling and Event-Driven Programming
- 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.