Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Clean Code with PHP examples
Introduction
Intro (2:07)
Clean code - From art to science (2:48)
What people say (4:39)
Looking at some code (2:38)
Empathy (3:12)
Clean code: Small functions
Small functions are easy to understand (18:15)
More advantages of small functions (7:20)
How many lines should a function have (3:34)
Single Responsibility Principle (1:33)
Levels of Abstraction - An MVC discussion (11:42)
Clean code: Fundamental principles
Names - for methods, classes and variables (6:39)
Parameters (4:10)
Programming line length (1:47)
Beautify predicates (1:03)
Comments (4:13)
Should I use exceptions (0:32)
Clean code: Advanced principles
OOP Objects vs Data Structure Objects (4:20)
Composition over Inheritance (5:16)
Symptoms of Bad Code (2:03)
What is state in programming and why is it important (5:34)
Low Coupling, High Cohesion (7:27)
Command and Query Separation, Tell Don't Ask and The Law of Demeter (4:34)
Test Pyramid and Test Driven Development (3:50)
Is over-engineering a solution to bad code (spoiler - it isn’t) (3:02)
YAGNI (1:51)
Project (2:03)
Test Pyramid and Test Driven Development
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock