Programming Foundations: Real-World Examples

Programming Foundations: Real-World Examples

Understanding core programming concepts and why they are used is just as important as knowing how to write code. New programmers need to learn to bridge the gap: to connect the theory to practice. This series of training videos explains basic programming concepts by relating them to real-life objects, actions, and scenarios. Each video will focus on a different analogy, mixing live action with segments that demonstrate the concepts in code. For example, Barron Stone connects functions to recipes, lists to parking spaces, and loops to that perpetual chore: dishwashing. He illustrates most of the examples using Python, but you can follow along in any language you choose. Start watching and learn about...

  • 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

课程信息

  • 英文名称:Programming Foundations: Real-World Examples
  • 时长:3小时8分
  • 字幕:英语

课程目录

  1. Welcome
  2. What you should know
  3. Using the exercise files
  4. Installing Python 3 for Windows
  5. Installing Python 3 for Mac
  6. Cook with functions
  7. Code reuse
  8. Add new input parameters
  9. Local and global variables
  10. Clothing as objects
  11. Custom objects
  12. Naming objects
  13. Mutable and immutable data
  14. Inheriting classes
  15. Override inherited methods
  16. Select tools from modules
  17. Import tools from packages
  18. Parking with lists
  19. Multidimensional lists
  20. Tuples
  21. Queues
  22. Stacks
  23. Create and combine sets
  24. Sort sets
  25. Add and remove items from sets
  26. Dictionaries
  27. Add items to dictionaries
  28. Reverse lookup issues
  29. If/else-if chains
  30. Switch and case statements
  31. For loops
  32. While loops
  33. Break statements
  34. Error catching
  35. Validate external input
  36. Custom errors
  37. Polling for a condition
  38. Event driven programming
  39. Next steps

评论