Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Understanding Code You Didn't Write - Code Review

The Cherno via YouTube

Overview

Explore a comprehensive video tutorial on understanding and reviewing code written by others. Learn essential techniques for navigating unfamiliar codebases, identifying entry points, and deciphering program functionality. Discover best practices for self-documenting code, proper use of comments, and the differences between static_cast and dynamic_cast. Gain insights into choosing between structs and classes, and understand the benefits of prefixing member variables. Enhance your code review skills and improve your ability to comprehend and work with existing codebases effectively.

Syllabus

- Resuming from last time
- Reading code you didn't write
- Easily find the entry point
- How the program works
- Code should be self-documenting ✔
- Comments in code to control tools ❌
- static_cast and dynamic_cast
- structs vs classes: when to use what
- Why prefixing member variables is useful

Taught by

The Cherno

Reviews

Start your review of Understanding Code You Didn't Write - Code Review

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.