SOLID Principles: Do You Really Understand Them?

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 160

  • @martynasgoberis2601
    @martynasgoberis2601 3 месяца назад +12

    I got Alex's course on SOLID, and it is just brilliant (wish I had lecturers like this in university :/). Goes more into detail on how to execute these principles in practice.

    • @alexhyettdev
      @alexhyettdev  3 месяца назад +2

      Thanks Martynas, I am glad you like my course, it is really nice to hear!

    • @prateekdalmia9400
      @prateekdalmia9400 2 месяца назад

      Hi where did you get the course from

    • @martynasgoberis2601
      @martynasgoberis2601 2 месяца назад

      Dometrain. It's not free but the quality is very good of all the courses there.

    • @prateekdalmia9400
      @prateekdalmia9400 2 месяца назад

      ​@@martynasgoberis2601 thanks buddy

  • @andrewmarshall195
    @andrewmarshall195 Год назад +59

    This is totally brillant....short and concise and really understandable! Top class this!

  • @togofar
    @togofar 11 месяцев назад +22

    I wouldn't say that the SOLID principles are too vague to be useful but I do agree that they are very abstract. I've come across many developers who know what the principles say but they don't really use them because they don't know when they should be using them or how to translate them into code. Maybe we need a set of more concrete principles to fill that gap.

    • @fludeo1307
      @fludeo1307 11 месяцев назад +9

      I jumped from game dev to web dev and I can say, I never meet any web dev that actually has the criteria to apply the principles. It's funny because they can recite the principles well, but then the code is never abstracted. They always 'just add another serivce.'

  • @residentorangejuice
    @residentorangejuice Год назад +8

    In the context of the Interface Segregation Principle (ISP), when we refer to a "client," we're talking about a class, module, or component that uses or depends on an interface, not a class that implements the interface.
    ISP states that clients should not be forced to depend on methods they do not use (call / invoke). If a class has three methods but the client only calls one of them, the client still has a compile-time dependency (due to the import statement) on the other two methods. The methods could be: retrieve(), save() and delete(). If the client code only calls save(), then it is cleaner for the client code to depend on a 'Saver' interface, rather than the concrete class which implements all three methods.
    Also, it is easier to use simple interface both on the caller's (client) side and on the implementation side.

    • @alexhyettdev
      @alexhyettdev  Год назад +3

      Yes, that is a good point. There appear to be 2 ways to interpret ISP with the internet being split on which one to use. You are right, the original paper does state it is to make life simpler for clients by only including methods used by that client in the interface.
      Of course, this does depend on who the client is and whether it is part of your codebase. If the client is unknown the only way to satisfy this version of ISP is to have one method per interface which is obviously an anti-pattern.
      Either way, keeping interfaces as small as possible and avoiding fat interfaces is always good practice.
      I managed to find the original paper if anyone is interested in reading it:
      web.archive.org/web/20150905081110/www.objectmentor.com/resources/articles/isp.pdf
      It seems to be a common misconception. Even some articles on the Microsoft website get it wrong:
      learn.microsoft.com/en-us/archive/msdn-magazine/2014/may/csharp-best-practices-dangers-of-violating-solid-principles-in-csharp#the-interface-segregation-principle

  • @elvikingo
    @elvikingo 9 месяцев назад +4

    This is good. I'm glad you explained the huge benefit of interfaces at the end: makes everything testable. Code covered by tests can be modified and refactored safely, which makes the code easier to maintain in the long run (the purpose of good design).

  • @behehe01
    @behehe01 4 дня назад

    Thank you so much. The leanest explaination of SOLID I’ve ever learned from

  • @hyperborean72
    @hyperborean72 9 месяцев назад +9

    Finally I understood all of the SOLID principles. Thank you a lot

  • @reppair
    @reppair 8 месяцев назад +1

    I've herd these explained by many people. Yours amongst the cleanest and simplest, also shortest. All these making for a top-notch explanation. :)

    • @alexhyettdev
      @alexhyettdev  8 месяцев назад

      Thank you! I don't like to waffle.

  • @victorialacerda6919
    @victorialacerda6919 Год назад +6

    Just came here to say hello from brazil! I've started moving careers to data science and your videos are so well written and the content so well explained that I've been binge watching them! thank you for posting.

  • @dos328
    @dos328 10 месяцев назад +3

    This has been by far the best video explaining SOLID Thank you so much! I love the stack and heap memory video too. Keep it up!

  • @goisenate
    @goisenate 4 месяца назад +1

    Good explainer, thanks.
    As for the part about "following the SOLID principles to the letter", the strategy I use in my trainings is this: learn TDD without mock frameworks and then SOLID pops out automatically.
    For example, if you design a large interface then a mock framework will make it easy to use it in your tests.
    However, if you do it manuall you will feel the pain of creating an implementation with usesless methods. This pain means your tests want to tell you something about your code design, in this case that you're probably violating the Interface Segregation Principle.

  • @rockford717
    @rockford717 Месяц назад +1

    Totally agree with the last 2 mins of the video... I think the SOLID is most useful in interviews :)

  • @seijumimurasakibara5516
    @seijumimurasakibara5516 5 месяцев назад +1

    i was so scared when i saw liskov, but the way you explained it assauged those fears. I thought it was hard to understand, but you sum it up quite nicely. As a budding developer, thank you very much for this!!

    • @criticalthinker1123
      @criticalthinker1123 5 месяцев назад

      if you really grasped, then give clear example without google?

  • @perisicnikola37
    @perisicnikola37 10 месяцев назад +2

    The best tutorial about OOP I have seen so far. Thank you Alex! Also these animations are awesome

    • @alexhyettdev
      @alexhyettdev  10 месяцев назад

      Wow, thanks! I am glad you like the animations.

  • @korniszon68
    @korniszon68 Год назад +2

    We actually have a dude in our project that brought this SOLID up to a single line. Explosion of interfaces, ununderstandable and not needed abstraction layers and general confusion - that's what we got as a result.
    BUT, we also get very very nice skeleton to build on top of. Especially - when it comes to Repository that we actually used. We have 2 entirely diffrent databases (firestore and mongo) and one in-house implemented (by a humble author of this post) in-memory DB mocking the firestore behaviour. So we really can simply mock any behaviour we want, and the most common dependency to the DB is simply non-existent. We simply change the implementation to "mock-db" and define whatever we need for the test. Exchange to MongoDB was also very simple in comparation to what it could have been without having extracted right interfaces...
    But...
    One have to admit - it has taken a LOT of work to bring the code to this level. Probably any of those issues might have been solved in less time simply by brute-forcing code edition. :>

    • @alexhyettdev
      @alexhyettdev  Год назад

      Yes swapping out a DB for a mock DB is a good use case.

  • @acupsf
    @acupsf Год назад +8

    One of the best explanations of the SOLID principles!

    • @alexhyettdev
      @alexhyettdev  Год назад +1

      Thank you!

    • @petiks6391
      @petiks6391 Год назад

      You missed the opportunity to say solid explanation!

  • @mattedge333
    @mattedge333 10 месяцев назад +1

    Clear, succinct, snappy. A really nice refresher. Thank you

    • @alexhyettdev
      @alexhyettdev  10 месяцев назад

      You're very welcome! Thanks for commenting!

  • @marna_li
    @marna_li Год назад +6

    I wouldn't say that "interface" in interface segregation is about C# or Java interfaces. Simply that you should segregate the interface for your class. It could be an interface, but not necessarily. So I try to keep it a language neutral term. Keep up the good work! I find it great.🙂

    • @alexhyettdev
      @alexhyettdev  Год назад +2

      Yes indeed, I believe the original paper was for C++ and the interfaces he was referring to were abstract classes.

  • @leezhenjian7451
    @leezhenjian7451 7 месяцев назад

    Beginner here, thank you for dumbing it down for me to understand!

  • @bubumimo
    @bubumimo Год назад +2

    Your conclusion is absolute important.

    • @alexhyettdev
      @alexhyettdev  Год назад

      100%, SOLID isn't going to fix bad code, and it is easy to write good code without using SOLID. Thanks for commenting :)

  • @llott88
    @llott88 6 месяцев назад +2

    06:37 "The code is more what you'd call 'guidelines' than actual rules." - Captain Barbossa, Pirates of the Caribbean

  • @sobit0ks
    @sobit0ks 11 месяцев назад

    Easiest LSP explanation ever. Thank you.

    • @alexhyettdev
      @alexhyettdev  11 месяцев назад +1

      Glad it helped! Thanks for commenting!

  • @laesponjaloca123
    @laesponjaloca123 4 месяца назад

    This is top level explanation. Congrats, sir. Great job.

  • @simonslater7257
    @simonslater7257 11 месяцев назад +1

    Please cover CUPID, this was a really good talk and I'd love to see this through the CUPID lens :). I've just seen the "CUPID for joyful programming" talk and really liked it, thank you for that recommendation!

    • @alexhyettdev
      @alexhyettdev  11 месяцев назад

      Will do! It’s on the list

  • @funkypopper
    @funkypopper 5 месяцев назад

    Thank you for your explanation! It helped me understand SOLID a lot.

  • @ognjenvojnovic9778
    @ognjenvojnovic9778 6 месяцев назад

    Hi Alex. This was brilliant, and in only 7 minutes. Thanks man

  • @takatakboy
    @takatakboy Год назад

    That BTTF display at the back was so distracting cause it makes me want to buy one and I couldnt stop staring at how cool it is!

    • @alexhyettdev
      @alexhyettdev  Год назад +1

      My wife bought me that. It is awesome. It is just a light, I wish it was a working clock. I may have to make one at some point...

  • @mustafabaki275
    @mustafabaki275 4 месяца назад

    Hey! You just gained another subscriber! Thanks for the wonderful explanation! And you are so right that these principles are just to code better but some people consider them as if it is the constitution :)

  • @sebon11
    @sebon11 Год назад +2

    Thanks for the video dude, rly great explanation!

    • @alexhyettdev
      @alexhyettdev  Год назад +1

      Thank you! I am glad you liked it.

  • @MagoMakes
    @MagoMakes Год назад +81

    Just some friendly feedback. Really well written and narrated. BUT your code presentations were far too quick/short giving hardly any time to digest. Users generally hate pausing and rewinding. Maybe less shots of you and your face, leaving the code up longer. From an adult education perspective this would be a lot better. Not everyone has the same processing speed. Also, if you kept it this short because of algorithms etc, be mindful of whose needs you are really trying to meet: your consumers, yours or RUclips's....

    • @alexhyettdev
      @alexhyettdev  Год назад +20

      Thanks for the feedback, I will try and keep the code up for longer. I don’t intentionally try and keep the videos short. It is just how long they tend to come out when I am recording them.

    • @thathue
      @thathue 10 месяцев назад +27

      for me rewinding or pausing is part of learning from videos, also shorter vidoes help alot to motivate me to consume them

    • @acp.masque
      @acp.masque 3 месяца назад +1

      Same here. I was searching for something that I could recommend to some early learners and I ended up with this video. However, the speed of content and the examples were rather quick to be grabbed by a junior. BTW it's pretty good for a quick refresh though.
      Thanks.

  • @jurkocharczenko4581
    @jurkocharczenko4581 9 месяцев назад

    Best video about SOLID principles for OOD (OOP)

  • @sharadregoti7742
    @sharadregoti7742 Год назад +2

    Bro, You got teaching skills. Nice!!!

  • @sameerarasanga8975
    @sameerarasanga8975 8 месяцев назад

    Great explanation , within just 7 minutes !!!!

  • @dmytrodanko8592
    @dmytrodanko8592 9 месяцев назад

    It's very very very understandable. The example with child-parent-human is very smart and simple )

  • @smileoez
    @smileoez Год назад +1

    Thank you very much it helped a lot to comprehend sense of all of principles

    • @alexhyettdev
      @alexhyettdev  Год назад

      You're welcome! I am glad it was helpful

  • @hristopisarev1827
    @hristopisarev1827 Год назад +3

    The best explanation I ever heard. Man, you are great! Keep up the great work 👏.

  • @manojaher88
    @manojaher88 4 месяца назад

    Thank you for such a great video. Learnt a lot

  • @osivwiokiti9897
    @osivwiokiti9897 Год назад +2

    Best explanation of solid I've seen. thanks.

    • @alexhyettdev
      @alexhyettdev  Год назад

      Thank you! I am glad it was helpful. Thanks for leaving a comment 👍

  • @sebon11
    @sebon11 Год назад +3

    Btw man - do you mind explaining CI & CD in one of your future videos? Would love that!

    • @alexhyettdev
      @alexhyettdev  Год назад +2

      Yes no problem will add it to the backlog!

    • @sebon11
      @sebon11 Год назад

      @@alexhyettdev great!

    • @alexhyettdev
      @alexhyettdev  Год назад +4

      Here you go 😉 ruclips.net/video/p3W2XCD3smk/видео.html

    • @sebon11
      @sebon11 Год назад

      @@alexhyettdev damn that's super lovely! Thank you for getting back here, dude!

  • @FrankTheTank-fg3xq
    @FrankTheTank-fg3xq Месяц назад

    Also encourage people to not use 'Static' as it prevents faking / MOQing of objects for unit testing and forces methods and classes to implement it for use.

  • @AlexKashie
    @AlexKashie Год назад

    Brilliantly elaborated... Thank you Alex!

  • @Treborbobuk
    @Treborbobuk 3 месяца назад

    I don't usually comment, but so many people are saying this is a great explanation of SOLID, yet even though it references C# specifically - when talking about Open/Closed you make no mention at all of Abstract / Virtual or Interfaces, which is a huge omission. Extension methods and decorators are fairly advanced topics and are really not the primary methods of achieving open/closed in C# or many other languages. Abstract classes and virtual methods provide a more straightforward approach to OCP by allowing behaviour to be extended through inheritance (which you'll be doing since SOLID mainly applies to OOP)

  • @NoahNobody
    @NoahNobody Год назад +1

    Great work. I took hours to read about these 5, barely learned them, then promptly for got them a little while after. It all came back super quick and I think I learned them much better after watching this video.

    • @alexhyettdev
      @alexhyettdev  Год назад

      Thank you, I am glad it helped as refresher.

  • @marna_li
    @marna_li Год назад +1

    Extension methods are the closest thing that C# has to traits. Hopefully, we will have more universal extension in an upcoming version, as Mad Torgersen and Dustin Campbell demonstrated at Build 2023. But still, if you are looking for changing behavior at runtime, then the decorator pattern is the one. Btw. Forwarding stuff to another class is an example of indirection. One should be careful of that. Not to do it just because.

  • @JDevCode
    @JDevCode Год назад

    Thanks so much, I don't understand english very well. However, I really figured out your explanation and gained more one follower.

  • @MenziManqele
    @MenziManqele 7 месяцев назад

    Super nice and easy to grasp. Thank you.

  • @hamaed19
    @hamaed19 Год назад +2

    Very useful content, Keep it up 👍

  • @craftedbysrs
    @craftedbysrs 6 месяцев назад

    You are an Amazing tutor!

  • @emhyrvemrais7574
    @emhyrvemrais7574 7 месяцев назад

    Very good explanation i understood everything great video.

  • @alanchen4257
    @alanchen4257 11 месяцев назад

    Clear & Concise !!

  • @lysithea9293
    @lysithea9293 Год назад +1

    As a beginner programmer, I found your video much clearer than the others I've watched on the SOLID principles.
    One thing I'm still unsure about, should child classes implement all arguments defined in the constructor of the parent class? (I guess that would belong to the Interface Segregation part)
    E.g. (don't mind the made up syntax)
    ParentClass:
    constructor(a, b, c = true, d = false):
    self.a = a
    self.b = b
    self.c = c
    self.d = d
    ChildClassA extends ParentClass:
    # doesn't define a new constructor and uses
    # all the arguments of the parent's constructor
    ChildClassB extends ParentClass:
    constructor(a, b, e):
    super.constructor(a, b)
    self.e = e
    Does the fact that arguments 'c' and 'd' are unused in ChildClassB break the SOLID principles?

    • @alexhyettdev
      @alexhyettdev  Год назад +1

      I don’t see a problem with this. The SOLID principles only really occur once an object has been created.
      As long as your child class can still do everything that the parent can it won’t break the LSP.
      I think the only time I would be worried about constructor arguments is if the order is implied somehow and missing one out will cause confusion.
      e.g.
      ParentPosition(x, y, z, t)
      ChildPosition(x, z, t)
      Without looking at the constructor definition you would assume the child would be (x, y, z)

    • @lysithea9293
      @lysithea9293 Год назад

      @@alexhyettdev Great! Thanks a lot for your reply and good point on the arguments' order.

  • @xyyx1001
    @xyyx1001 Год назад

    Easiest SOLID explanation, especially SRP. Too many others parrot abstract concepts without a concrete example.

    • @alexhyettdev
      @alexhyettdev  Год назад +1

      Thank you! I am glad you liked it. Yes I don’t think they really understand them when they do that.

  • @tom111_14
    @tom111_14 7 месяцев назад

    clear and amazing ! thanks a lot Sir !

  • @mj65535
    @mj65535 9 месяцев назад

    I always find single responsibility principle problematic when it comes to OO design. People end up moving away from "it is" classes to "it does" classes. This reduces "it can be reused".

  • @MuhammadR-q3q
    @MuhammadR-q3q 7 месяцев назад

    very clear explanations

  • @eio4528
    @eio4528 11 месяцев назад +2

    I don't want to argue against SOLID principles because I can't say I completely and fully follow every rule. However, extending classes to avoid changing them sounds like a long term recipe for disaster. A codebase I once worked had a main class for a product with a ridiculous amount of additional classes that extended it for all kinds of functionality that was introduced over time. It quickly became a huge mess. I argue that there are absolutely moments where a class can and should be changed.
    It seems to me many of these principles are designed to help prevent a developer from stepping on their own toes. I argue people should pay closer attention to what they're doing and if they don't understand the code they're changing, they're doomed to make mistakes. They need to understand the code! It's like a mechanic modifying a car without knowing how the engine truly works, IMO. You're doomed if that is the case.

  • @punkerIII
    @punkerIII Год назад

    Thank you for your content!

    • @alexhyettdev
      @alexhyettdev  Год назад

      You’re welcome! Thank you for leaving a comment!

  • @jamestacular
    @jamestacular Год назад +1

    The open closed principal is the only one that I don't think is realistic. Basically the way I understand it is once your write code it becomes untouchable. You can only add to it but coding around the original implementation by using extension methods or new implementations of the original interface.

    • @alexhyettdev
      @alexhyettdev  Год назад +2

      I think it makes sense if your code is being published as part of library for others to use. You wouldn't want to introduce bugs into trusted code. If you are working on a closed source application in a small team then I can see it being unrealistic.
      I guess the better approach is to think, "how can I design this, so I won't need to change the interface in the future?"

  • @vishalkarthik.v7209
    @vishalkarthik.v7209 Год назад

    For decorative pattern , instead of using it can't we just copy code and modify , in what scenario does it help 🙂, I couldn't get clarity in this part

    • @alexhyettdev
      @alexhyettdev  Год назад

      Yes you could do that but it would be breaking the Don’t Repeat Yourself principle. If the code needs to be vastly different then copying is fine. It’s to avoid the case of updating one part but forgetting the other part that got copied.
      It is mainly for when you need to add a small piece of functionality (before or after original implementation) that doesn’t apply to every use case. Therefore you avoid breaking existing callers of the method but make use of not duplicating the code.

  • @_mubir
    @_mubir Год назад

    nice && concise.carry on.

    • @alexhyettdev
      @alexhyettdev  Год назад

      Thank you!

    • @_mubir
      @_mubir Год назад

      @@alexhyettdev Just for clarification to achieve "S" its better to divide interface by feature of my app.
      like:
      - generating pdf (all methods for generating pdf would be in the interface)
      or - say like for one for sending event & another for consuming event in event base architecture.
      !!

  • @StephanSingh2495
    @StephanSingh2495 4 месяца назад

    @4:48 can someone please expain, how the 'notImplementedException' breaks the Liskov principle? Like if a parent class sends the 'notImplementedException' for some function, the child class would do the same? Also is Liskov principle in some way applicable to interfaces and their implementations as well?

    • @Collidedatoms
      @Collidedatoms 3 месяца назад

      Because presumably there are other classes that implement the interface that DO implement the methods. So if you sub your class in, it will break because instead of doing something appropriate, it would throw an exception or if you have it empty, do nothing. Liskov says that child classes should be able to do EVERYTHING their parent can do. So if the child throws not implemented, it's not actually able to do that thing. It's a code smell that the interface is poorly designed and should be broken up.
      It might help to understand that basically an interface is just a class with all virtual methods - that is methods which may or may not have default implementations and which require their child to implement if not. Virtual methods are methods where the binding to functionality is determined at runtime.
      C++ just lets you do that because it has multiple inheritance. It has - to my knowledge anyway, it's been a while - no "interface" keyword. Instead to do interfaces in C++, you create a class with all virtual methods.
      C# does because then the compiler can enforce "okay, this isn't actually the kind of multiple inheritance that is bad, this is just simply a mixin (interface where all methods have default implementations and add some functionality) or class with purely virtual methods that can be overridden." C# can make sure you don't actually do multiple inheritance.

  • @khalidelgazzar
    @khalidelgazzar 11 месяцев назад

    Great video .. thank you 😊

  • @217-sritejrajulu6
    @217-sritejrajulu6 Год назад

    this guy is so awesome he explaiend stack and heap in suck a way ill remember forever

  • @testingfsqc
    @testingfsqc 11 месяцев назад

    This is a SOLID video on S.O.L.I.D!

  • @naufalikhlasksatria9228
    @naufalikhlasksatria9228 Год назад +2

    Indonesian spokeswoman said : Soliiiid?

  • @mymacaintwag
    @mymacaintwag Год назад +1

    Here are the principles and here is a class. I have no classes!

    • @alexhyettdev
      @alexhyettdev  Год назад

      Yes the SOLID principles are mostly for OOP languages such as C# and Java. Some of them are still useful for other languages though.

  • @KaznarahAndrinarivo
    @KaznarahAndrinarivo 6 месяцев назад

    Thanks 🙏

  • @ehm-wg8pd
    @ehm-wg8pd 9 месяцев назад

    4:58 addressing the issue i have right now

  • @Ne1gh_
    @Ne1gh_ 8 месяцев назад

    Thanks!

  • @yazanmansour1231
    @yazanmansour1231 Год назад

    you are amazing
    best video for SOLID

    • @alexhyettdev
      @alexhyettdev  Год назад +1

      Thank you Yazan! I am glad you liked it 👍👍

  • @Iridium.
    @Iridium. 3 месяца назад

    So much easier when it’s not game programming related .

  • @terry-
    @terry- 9 месяцев назад

    Great!

  • @technicaltheb034
    @technicaltheb034 Год назад +5

    It'd be great if you write code while explaining.

    • @alexhyettdev
      @alexhyettdev  Год назад

      Thanks for the feedback. Yes I can definite do that more often.

    • @sebon11
      @sebon11 Год назад +1

      I don't have that feeling, for me everything was understandable here

  • @nooruddinraotiwala353
    @nooruddinraotiwala353 9 месяцев назад

    last minutes hillarious😅

  • @SamaC713
    @SamaC713 2 месяца назад

    What is a “class’

    • @mariyakulidzhanova7082
      @mariyakulidzhanova7082 15 дней назад

      Class is some template that all objects implement. Classes can have properties and methods. For ex. if you want to create a 'Human' object, you need a class that contains 'name', 'age' etc. properties and methods like 'eat()', 'walk()' etc.

  • @nishantrai982
    @nishantrai982 3 месяца назад +1

    you look like deadpool

    • @alexhyettdev
      @alexhyettdev  2 месяца назад

      Hopefully more like Ryan Reynolds than Wade Wilson after turning into a mutant 😂

  • @ClifCollins-k8d
    @ClifCollins-k8d 5 дней назад

    "I noticed you're still working with polymers." The organization of "functions" is not the basis for logic. Functions should not be used to develop applications. Having billions of single-points-of-failures is not a technology. We should not be programming using a set of (just) hardware instructions grouped in a small number of statements as: functions, subroutines, macros, methods, event handlers, interrupts, message handlers, classes, etc.. Think of ways to not use "functions". It can be done.

  • @siddhanttripathi5224
    @siddhanttripathi5224 6 месяцев назад +2

    why does 99% people give the same exact same example over and over to explain these principles why can't they do some real practical type example

  • @SeriousCat5000
    @SeriousCat5000 Год назад +1

    @3:51 Mom class is hot AF

  • @alanjohnson7374
    @alanjohnson7374 8 месяцев назад +1

    Why wouldn't you make parent inherit from child in your example... problem solved.

  • @sanyaua4074
    @sanyaua4074 2 месяца назад

    smoothie drinker)

  • @PopLucian90
    @PopLucian90 Год назад

    Going a bit too fast. But good info otherwise.

    • @alexhyettdev
      @alexhyettdev  Год назад

      Thanks, yeah still trying to find the right balance. I have a tendency to talk to faster when in front of a camera 🤦🏻‍♂️.

  • @sidekick3rida
    @sidekick3rida 20 дней назад

    God, Java has to be one of the most poorly designed, yet ubiquitous languages

  • @DoctorMoax
    @DoctorMoax 6 месяцев назад

    not exactly a beginner friendly content. Other's have done a better explanation

  • @Pugly-q4n
    @Pugly-q4n Месяц назад

    The examples given here and elsewhere are too vague - using an actual human child and parent is an incorrect example. The fact is, you have to go to a made up scenario to give any example of Liskov. I challenge anyone here to give me one real-world example of Liskov that would be necessary in real life.

  • @anlcangulkaya6244
    @anlcangulkaya6244 Год назад +1

    How to be worst programmer principles

    • @alexhyettdev
      @alexhyettdev  Год назад

      Some of them have merit but if you follow them religiously you can end up writing words code definitely.

    • @anlcangulkaya6244
      @anlcangulkaya6244 Год назад

      @@alexhyettdev I'm following get the job done principle using C or C++ unsafe and fast code using SIMD and data oriented design

  • @DarshitGupta-kf8oc
    @DarshitGupta-kf8oc 5 месяцев назад +1

    why insert background music? Its distracting.

  • @FaizKTG
    @FaizKTG 18 дней назад

    This is the stupidest most useless set of "principles" and I'm tired of people saying otherwise.

  • @charlitowashere5906
    @charlitowashere5906 8 месяцев назад

    your git commit... //my code is more important than yours... jajajaja

  • @bkej420
    @bkej420 4 месяца назад

    SRP explained wrong - again.

    • @projectverna1937
      @projectverna1937 4 месяца назад

      Explain how

    • @bkej420
      @bkej420 4 месяца назад

      @@projectverna1937 SRP comes from Robert C. Martin. He explains in his books, that rules states, that a module should be responsible to one, and only one, actor (not as defined like in Actor-Model, but like Actor in UML). In this video it is explained like responsibilites are just different features. Which is plain wrong explanation and it increases confusion around the topic further.