Write SOLID Code & Impress your Friends
Offered By: SymfonyCasts
Course Description
Overview
Sure, writing object-oriented code starts with mastering the fundamentals: classes, objects, properties, etc. But without some guiding principles, writing object-oriented code is like using power tools... with no plan about what you're building! You will build something... but you might not be happy with the result... and the next programmer to see the project definitely won't be!
Say hello to SOLID: 5 famous principles, each designed to guide how you write object-oriented code so that it is flexible, understandable, and (most importantly) impresses your friends. In this course, we'll master these principles in a practical, real-world way:
- Single responsibility
- Open–closed
- Liskov substitution
- Interface segregation
- Dinosaurs ?, I mean Dependency inversion
Let's sharpen our tools and write some great code!
Syllabus
- SOLID: The Good, The Bad & The Real World
- Single-Responsibility Principle: What is it?
- SRP: Responsibilities
- Refactoring for SRP
- SRP: Takeaways
- Open–Closed Principle
- OCP: Autoconfiguration & tagged_iterator
- OCP: Takeaways
- Liskov Substitution Principle
- Liskov: Unexpected Exceptions
- Liskov: Substituting a Class
- Liskov: What Changes *Are* Allowed?
- Liskov Takeaways & Service Alias
- Interface Segregation Principle
- ISP: Refactoring & Takeaways
- Dependency Inversion Principle
- Refactoring Towards Dependency Inversion
- DIP: Takeaways
Taught by
Diego Aguiar and Ryan Weaver
Related Courses
Introduction à la programmation orientée objet (en Java)École Polytechnique Fédérale de Lausanne via Coursera C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera Introduction to Programming for Musicians and Digital Artists
California Institute of the Arts via Coursera Beginning Game Programming with C#
University of Colorado System via Coursera Paradigms of Computer Programming
Université catholique de Louvain via edX