Secrets of how to understand code written by someone else, or our past self. (see shortcuts below to key points) Adam Culp of Beachcasts php programming videos shares methods of reading the code for better understanding of what the code does. The video also highlights how to read code for beginners, as well as understanding code without running it. Then, discusses ways to enhance code to make these activities easier in the future.
Please * LIKE, COMMENT, AND SUBSCRIBE * - and share with others!
Key Topics: - Share 6 methods to help while reading code - Easier ways of following programming code intent - Highlight 4 practices to make it easier in the future - Explanation of how to understand code
Errata: Let me know if you notice anything that should be errata
Timeline: 02:22 Reading code line-by-line sequentially 02:46 Following execution to learn in-depth 03:04 Using routes to pinpoint what area in code needs analysis 03:31 Observing pre-existing tests to determine what code is to do 04:19 Step-debugging to gain insight to data as the code executes 05:53 Refactoring to clean up code while gaining understanding 05:55 PhpStorm being used to refactor, extract to a new method 07:39 Coding standards to make code more readable once we understand the standard 08:53 Using frameworks, making code predictable 09:48 Use OOP Patterns to help future readers understand design faster 10:32 Automated tests help understand intent of the code later
Help through referrals: Thinking of buying a Tesla electric vehicle? Use this referral link to also get six months of free Supercharging for both of us. Thank you. https://www.tesla.com/referral/tanya21367