Secrets of how to understand code written by someone else

Share this & earn $10
Beachcasts Programming Videos
Published at : 12 Nov 2020
4586 views
153
2

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

Associated Links:
https://beachcasts.com
https://xdebug.org/
https://www.php-fig.org/
https://behat.org/en/latest/
https://phpunit.de/
https://www.jetbrains.com/phpstorm/

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

Other Beachcasts videos you might find interesting:
Ways to advance your programming skills and improve as a developer https://youtu.be/X6abVw8SlZc
Make your local DEV environment available on the internet https://youtu.be/xs2o7B_Ex9E
AWS Elastic Load Balancer (ELB) Tutorial How-To https://youtu.be/Sr2Mq9Gegew
Laravel Model Factory Tutorial using Artisan make:model https://youtu.be/hM135dPJ1dM
Authentication in Laravel Tutorial https://youtu.be/2qJkzWJNpjQ
Top 5 skills to be a better software developer https://youtu.be/kbX8iATLqxs
Install Laravel in Docker container on Ubuntu for beginners https://youtu.be/0HTruhilvcU
Getters and Setters accessors in object oriented programming https://youtu.be/cozignPaoLg
Critical programming issues preventing a PHP 7 upgrade https://youtu.be/z13glyDnm6s
Behat for beginners functional REST API testing tutorial https://youtu.be/nFNGDhyFrm4
Doctrine ORM one-to-many bi-directional association https://youtu.be/4nEdBDxBc1w
PHP Mess Detector static analysis to find PHP code smells https://youtu.be/8fEfHESrK5E
Doctrine ORM one-to-many self-referencing association https://youtu.be/4dHZ6cZooOk
10 reasons to become a consultant in a consulting business https://youtu.be/J7gpMYAKmDM
Zend Framework becomes Laminas project at Linux Foundation https://youtu.be/CEIO90ocEDI
10 bad things about consulting https://youtu.be/ELE0G3e7h3c
How to get lines of code in PHP https://youtu.be/HpC-Cvxj6oY
Make a List handler middleware https://youtu.be/VLqavHCFv6g
Make a Delete handler middleware https://youtu.be/3nLbQfMk99k
Make an Update handler middleware https://youtu.be/3Zcq5Jjz1Po
Use UUID with Doctrine ORM for DB keys https://youtu.be/SYuLwMwSIpg
Make a Create handler middlware https://youtu.be/FIYh-VIWUko
Automate Hypermedia creation for PHP REST API https://youtu.be/dX6S-pJVUXI
Learn about Hypermedia and how to create it https://youtu.be/aV6ro_JXL_A
Doctrine ORM Paginator for PHP REST API https://youtu.be/UpqOew4sNT0
Doctrine ORM Entity how to https://youtu.be/NnK9Geg1h_E
Configure Doctrine ORM https://youtu.be/pFvh5ZNhdOQ
Create PHP middlware with Zend Expressive https://youtu.be/26440j7D0BE
Configure PhpStorm for PHP development with Docker https://youtu.be/FQWL-JTZvf4
Create PHP development environment with docker https://youtu.be/2ESAi2vq-80

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

I use TubeBuddy to help me manage my YouTube channel. If you're interested, click the following link to check it out. https://www.tubebuddy.com/beachcasts

#php #webdevelopment #beachcasts
how to understand code written by someone elsehow to understand codefollowing programming code intent

Connected | Official Trailer | Netflix

Connected | Official Trailer | Netflix

Pantera - Shedding Skin

Pantera - Shedding Skin

Balloon Transport - Combination Marble Race 2 in Algodoo

Balloon Transport - Combination Marble Race 2 in Algodoo

English Grammar lesson - Using 'would rather' correctly in spoken English ( Free ESL lessons)

English Grammar lesson - Using 'would rather' correctly in spoken English ( Free ESL lessons)

Computer System Architecture

Computer System Architecture

Michael S Jenkins Explains Gann's Time and Price Squared

Michael S Jenkins Explains Gann's Time and Price Squared

Top 15 Most Desirable Women 2020 | most desirable women hyderabad 2020 | #Hyderabad

Top 15 Most Desirable Women 2020 | most desirable women hyderabad 2020 | #Hyderabad

🐶 Dogs Cartoon IN REAL LIFE 💥 All Characters 👉@SONA Show

🐶 Dogs Cartoon IN REAL LIFE 💥 All Characters 👉@SONA Show

Crusader Kings 2: Songs of India - Charge of the War Elephants

Crusader Kings 2: Songs of India - Charge of the War Elephants

โครงสร้างประโยค Sentence Structure By Kru Somsri

โครงสร้างประโยค Sentence Structure By Kru Somsri

EASY ways to Protect your Minecraft House

EASY ways to Protect your Minecraft House

We are saying thank you Jesus Christ

We are saying thank you Jesus Christ

LEGO Instructions: How to Build Bowser's Castle Boss Battle Expansion Set   71369 (LEGO SUPER MARIO)

LEGO Instructions: How to Build Bowser's Castle Boss Battle Expansion Set 71369 (LEGO SUPER MARIO)

Diagnosis Meaning

Diagnosis Meaning

Destroying the Walls - New Telecall with Gary Douglas & Dr. Dain Heer

Destroying the Walls - New Telecall with Gary Douglas & Dr. Dain Heer

6 YEAR OLD SKATER Vs STAIR SET!

6 YEAR OLD SKATER Vs STAIR SET!

Shordie Shordie - Both Sides ft. Shoreline Mafia (Dir. by @_ColeBennett_)

Shordie Shordie - Both Sides ft. Shoreline Mafia (Dir. by @_ColeBennett_)

Store Chase | Match 5 | CATCH! Die Europameisterschaft im Fangen

Store Chase | Match 5 | CATCH! Die Europameisterschaft im Fangen

Colby O'Donis ft. Akon - What You Got (Official Video)

Colby O'Donis ft. Akon - What You Got (Official Video)

The Best Selling Games of All Time - Scott The Woz

The Best Selling Games of All Time - Scott The Woz

I Stayed In A $15,000 Per Night Hotel Room! (Underwater Suite)

I Stayed In A $15,000 Per Night Hotel Room! (Underwater Suite)

MANMADE MUTANT in Red Dead Redemption 2

MANMADE MUTANT in Red Dead Redemption 2

Deer Calling Tips - E.18 "Understanding Rattling 101"

Deer Calling Tips - E.18 "Understanding Rattling 101"

Steven Universe - Something Entirely New (Remix feat. Adriana Figueroa & Miku-Tan)

Steven Universe - Something Entirely New (Remix feat. Adriana Figueroa & Miku-Tan)

90 Seconds with a Golden Knights: Dustin Bell '24

90 Seconds with a Golden Knights: Dustin Bell '24

The Popular Vote vs. the Electoral College

The Popular Vote vs. the Electoral College

Barkevadrum ASALA-yi dxerkin yev shnorhakalutyan xosk 10/1/2014

Barkevadrum ASALA-yi dxerkin yev shnorhakalutyan xosk 10/1/2014

How to Fix a Lazy Eye With One Crazy Trick

How to Fix a Lazy Eye With One Crazy Trick

Rock Climbing on the Rostrum, Yosemite

Rock Climbing on the Rostrum, Yosemite

She`ll be coming - The BEST SONGS for Kids | LooLoo Kids

She`ll be coming - The BEST SONGS for Kids | LooLoo Kids

🎃🧛‍🐹 HALLOWEEN WITCH Hamster Obstacle Course Maze With Traps 😱 + BATS

🎃🧛‍🐹 HALLOWEEN WITCH Hamster Obstacle Course Maze With Traps 😱 + BATS

What Type of this Example Baby?, It Really so Hard to walk out, Strong action with this style.

What Type of this Example Baby?, It Really so Hard to walk out, Strong action with this style.

Rango (2011) - Showdown With the Hawk Scene (4/10) | Movieclips

Rango (2011) - Showdown With the Hawk Scene (4/10) | Movieclips

Repair blog 001: Changing grill cloth, speakers, casters and repairing handles on a Marshall cab

Repair blog 001: Changing grill cloth, speakers, casters and repairing handles on a Marshall cab

93 Fern Varieties with names | Indoor Fern Collection

93 Fern Varieties with names | Indoor Fern Collection

The Best Steak In New York City | Best In Town

The Best Steak In New York City | Best In Town

Backstreet Boys - The Call

Backstreet Boys - The Call

Extremely long nail trimming

Extremely long nail trimming

Conjuror- Fight or Yield

Conjuror- Fight or Yield

Recognise

Recognise

Procuring a Learning Management System (LMS)

Procuring a Learning Management System (LMS)

ЭВОЛЮЦИЯ ЧЕЛОВЕКА ЧТОБЫ СОЗДАТЬ СВОИМИ РУКАМИ БУДУЩЕЕ В ИГРЕ EVOLUTION IDLE TYCOON

ЭВОЛЮЦИЯ ЧЕЛОВЕКА ЧТОБЫ СОЗДАТЬ СВОИМИ РУКАМИ БУДУЩЕЕ В ИГРЕ EVOLUTION IDLE TYCOON

The KEY to Balancing a HECTIC Lifestyle

The KEY to Balancing a HECTIC Lifestyle

An Occasion When You Received Incorrect Information. ( Sep. To Dec. 2019 )

An Occasion When You Received Incorrect Information. ( Sep. To Dec. 2019 )

Top 5 Most Liked Music Videos Each Year (2010-2020) NOVEMBER 2020!

Top 5 Most Liked Music Videos Each Year (2010-2020) NOVEMBER 2020!

FRM: Using Excel to calculate Black-Scholes-Merton option price

FRM: Using Excel to calculate Black-Scholes-Merton option price

Creating a Floor Plan in LAYOUT 2020 from a SketchUp Model - Layout 2020 Part 1

Creating a Floor Plan in LAYOUT 2020 from a SketchUp Model - Layout 2020 Part 1

These Things

These Things

In The Meantime, The Interim, The Process

In The Meantime, The Interim, The Process