Interfaces vs Abstract Classes

Interfaces vs Abstract Classes

Raw Coding

9 месяцев назад

14,278 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@PrasannaCE
@PrasannaCE - 20.12.2023 09:33

Hi, pls create a video to explain for Covariant and contravariant

Ответить
@robsonfaxas6574
@robsonfaxas6574 - 06.11.2023 17:48

Nothing related to coding, but I like the fact you didn't unwrinkle your t-shirt and don't care about the late afternoon sun removing half of your facial expressions at the beginning of your video.

Ответить
@purplepixeleater
@purplepixeleater - 04.11.2023 18:25

Abstract Base > Inherit > Implement abstracted target interface... avoids issues with dual inheritance. why not just use virtuals?

Ответить
@erhanalankus
@erhanalankus - 31.10.2023 20:11

Thanks for the explanation. I think your voice tone and speaking rhythm could use a bit variety. I lost my attention while watching several times.

Ответить
@noctavel
@noctavel - 29.10.2023 23:01

good video, tho i would suggest going/running the code to exarcebate the difference between any 2 approaches. You did show the code, but it's hard to grasp between the 2 without running them

Ответить
@ManderO9
@ManderO9 - 26.10.2023 18:14

the legend is back

Ответить
@Noceo
@Noceo - 26.10.2023 10:00

Given that this would be a great topic for newer developers to understand better, I think the video would benefit from slowing down a little bit (or reducing the scope, if you want to keep it sub 15 minutes). Don't get me wrong, you are saying a lot of really important thing, but even with 5 years of .NET experience, I had a hard time keeping up on everything.

Ответить
@DucaTech
@DucaTech - 26.10.2023 08:17

I think in C++, you can have multiple inheritance just not Java and C# using abstract classes.

Ответить
@oladipotimothy6007
@oladipotimothy6007 - 26.10.2023 01:51

I noticed I could use public, internal, and protected access modifiers in the interface. I couldn't use private though
Update: doesn't work when inherited from another project. Insisted on public modifiers but worked when implemented 'explicitly' for protected modifiers regardless

Ответить
@allinvanguard
@allinvanguard - 25.10.2023 21:23

Great video! I have two more points which were not mentioned (I think? Or maybe I also forgot haha) - A class can implement multiple interfaces, but only one abstract class. Also maybe the fact that default interface implementation methods can't act on any dependencies coming from the implementing class, it's essentially a static context.

Ответить
@kreddybasha4403
@kreddybasha4403 - 25.10.2023 20:07

Sir, please explain bit slow. Content not able to reaching.

Ответить
@MultiBadway
@MultiBadway - 25.10.2023 19:23

I like your wall its intresting

Ответить
@cocoscacao6102
@cocoscacao6102 - 25.10.2023 19:07

What's the editor?

Ответить
@yourockst0ne
@yourockst0ne - 25.10.2023 18:45

🎉 nice seeing your FACE in my notifications

Ответить
@andrewiecisa2907
@andrewiecisa2907 - 25.10.2023 18:20

Idea for content: openiddict-core

Ответить
@ntson1710
@ntson1710 - 25.10.2023 18:19

what's your ide and what theme were you using in this video?

Ответить
@m_stf
@m_stf - 25.10.2023 17:59

welcome back

Ответить
@lw5482
@lw5482 - 25.10.2023 17:03

one thing is, if you wanna change the interface like adding new method / property to it, it will break all implementations. And if you make new interface to replace it, you need to document it and educate other devs in the team. It's disaster especially for package / framework devs. So one important rule would be: If you are going to design an interface, design it very carefully and target it to the future.

Ответить
@trustingod0
@trustingod0 - 25.10.2023 15:49

Thanks for this video, very informative. Just a couple of questions about Abstract Classes compared to Interfaces. You mentioned that an abstract class is when you have a set of things that have a commonality and then you take that commonality and abstract it into an abstract class. Whereas with interfaces you said you want to separate the thing that a component is dependent on or the things that its consuming and this is where the bridge or contract comes in ultimately used to decouple your components into code. That went straight over my head lol. What I think I have discovered and why some people struggle with getting a sound understanding of the concepts is that maybe its because there is a coding benefit in using abstract classes and interfaces as well as practical advantage.

Ответить
@EdsonViniciusSchmitt
@EdsonViniciusSchmitt - 25.10.2023 15:14

Hey there! You are missing a "t" on your thumbnail. Welcome back btw!

Ответить
@victorchisomnwisu9776
@victorchisomnwisu9776 - 25.10.2023 14:58

He's back 🎉🎉

Ответить
@amnesia3490
@amnesia3490 - 25.10.2023 14:57

oh my boi is back

Ответить
@Bourn77
@Bourn77 - 25.10.2023 14:49

Mate, Dark theme please.

Ответить
@81NARY
@81NARY - 25.10.2023 14:45

Best lighting on the tubes, welcome back!

Ответить
@neelamrani6884
@neelamrani6884 - 25.10.2023 14:23

We need more of these interview tips gems

Ответить
@neelamrani6884
@neelamrani6884 - 25.10.2023 14:15

Nice lighting😊😅

Ответить
@fabianosobreira7581
@fabianosobreira7581 - 25.10.2023 14:14

😎

Ответить
@rahiyansafin449
@rahiyansafin449 - 25.10.2023 14:02

first one to watch!

Ответить