filmov
tv
Composition vs. Inheritance: Alternative to Protocols | Swift & iOS Basics

Показать описание
In software development, the choice of design principles significantly impacts the maintainability, scalability, and flexibility of a codebase. Protocols (or interfaces) are a powerful tool which gives developers the freedom to introduce, update, refactor, or replace individual components without risking to destabilize the system at large.
But protocols aren’t the only way to achieve that degree of flexibility. In addressing specific challenges, other mechanisms turn out to be a better choice. Inheritance is one of such alternatives. It is a key concept in object-oriented programming, and in this video, I’m delving into why alternatives might be necessary, and comparing the approaches.
Support the Swift Bird by…
Links:
Chapters:
• 0:00 Intro
• 1:22 What Is Composition?
• 3:06 Why Alternatives Might Be Needed
• 4:25 Inheritance: An Alternative Approach
• 7:23 Benefits of Inheritance
• 10:02 Drawbacks of Inheritance
• 12:58 How to Choose
• 15:54 Summary
The Swift Bird, a Yakov Manshin production 🎞️
#composition #inheritance #softwaredevelopment
But protocols aren’t the only way to achieve that degree of flexibility. In addressing specific challenges, other mechanisms turn out to be a better choice. Inheritance is one of such alternatives. It is a key concept in object-oriented programming, and in this video, I’m delving into why alternatives might be necessary, and comparing the approaches.
Support the Swift Bird by…
Links:
Chapters:
• 0:00 Intro
• 1:22 What Is Composition?
• 3:06 Why Alternatives Might Be Needed
• 4:25 Inheritance: An Alternative Approach
• 7:23 Benefits of Inheritance
• 10:02 Drawbacks of Inheritance
• 12:58 How to Choose
• 15:54 Summary
The Swift Bird, a Yakov Manshin production 🎞️
#composition #inheritance #softwaredevelopment
Composition vs. Inheritance: Alternative to Protocols | Swift & iOS Basics
The Flaws of Inheritance
Composition over Inheritance Explained by Games! #programming
Composition over Inheritance [Object Oriented Programming]
Composition over Inheritance
DON'T Misuse Inheritance - Do THIS Instead!
Java Composition as an Alternative to Inheritance
Rust Data Modelling Without Classes
Composition Vs. Inheritance: How To Choose?
Composition vs. Inheritance
Composition vs. Inheritance | ViennaJS Nov. 2015
Inheritance vs Composition (Till Vollmer, CTO, MeisterLabs)
SIMPLE Tip For Better Unity Game Architecture
Composition Over Inheritance | Test Automation Patterns | Serenity Dojo TV
Elle Meredith - Composition over inheritance
Composition Over Inheritance in Solidity: Is That Right? by Alice Henshaw (Devcon5)
Exploring Java OOP with Alternatives to Inheritance
Composition Versus Inheritance
Avoid These BAD Practices in Python OOP
Stop Using Inheritance! Here's Why Composition Is Better in C#
Software Engineering: Alternative to 'inheritance versus composition?' (2 Solutions!!)
COMPOSITION vs INHERITANCE: The Best Solution for Your Games - Introduction to OOP in Godot Part 3.
Composition or Inheritance for classes with almost similar implementations but different input...
Understanding Inheritance vs Composition: Solving Dependency Dilemmas in Java
Комментарии