Casey and the Holy OOP Grail

Поділитися
Вставка
  • Опубліковано 14 лис 2024

КОМЕНТАРІ • 34

  • @meandtheboyz4796
    @meandtheboyz4796 Рік тому +33

    Also, why many large organization largely use OOP? Same answer as, Why many large organization hire 5000+ employee to write a software that can be written by 50.

    • @starc0w
      @starc0w 5 місяців тому +1

      Love this statement! So true!

  • @CharlesVanNoland
    @CharlesVanNoland 7 років тому +56

    I remember when I was first learning C and doing OpenGL programming back ~1999-2000 with a high school friend and we would LAN up at eachothers' houses to stay up all night coding and doing gamedev stuff, and eventually he went the way of C++ and started going on about OOP. I remember when I first started investigating the classes seemed OK, containing functions into them sounded handy, but beyond that my intuitive sense said that everything seemed so overly convoluted, as if it were putting the coder at a further distance from taking an idea and getting to a finished product. It seemed like an overzealous perversion of abstraction that missed the mark because it was just smoke and mirrors. Yea, in theory it's great, but in practice it's a nightmare. I do believe there needs to be some structure involved, established at the outset of a large project that a team of people will be working on, but I don't think OOP is the solution.

    • @drygordspellweaver8761
      @drygordspellweaver8761 Рік тому +5

      That’s quite amazing you had a programming friend to do that with. Me and my friends just played Diablo 2...

    • @starc0w
      @starc0w 3 місяці тому +1

      @@CharlesVanNoland Very well said.

  • @dandymcgee
    @dandymcgee 8 років тому +37

    Haha. The Indiana Jones comparison is so perfect.

  • @striker865
    @striker865 6 років тому +5

    What a great analogy, this isn't talked about enough in my opinion.

  • @EnduranceT
    @EnduranceT 7 років тому +16

    I wonder if Mike knows he's been in a movie with Harrison ford!

    • @starc0w
      @starc0w 5 місяців тому

      😂

  • @chyza2012
    @chyza2012 4 роки тому +14

    i wonder what he had to say about the turbo pascal compiler

  • @meandtheboyz4796
    @meandtheboyz4796 Рік тому +6

    My problem is that OOP is a redundant term. Classes are just structs containing data and function pointers that need that data. That's it. It's just an idiom. I don't know how so many people have written entire books on programming with structs and function pointers.

  • @pleggli
    @pleggli 4 роки тому +4

    I believe that just as with say for example micro services OOP's main benefit is about organisational scaling where it's easier to have hundreds or thousands of people working on a single code base because a class or a service is a convenient way to define an encapsulated unit of some sort.
    That being said I agree that OOP is very often overused in ways that makes code harder to read more than anything else but I still think there are some positive values to it in some scenarios as well.

  • @EhKurd
    @EhKurd 6 років тому +7

    Some code bases are absolutely fucking disgusting and make me want to puke but when you don't abuse it, oop is fine I think. Some design patterns are also really awesome like observer.

  • @LambOfDemyelination
    @LambOfDemyelination 4 роки тому +3

    Oh Oh Pea.

  • @Beeftitan
    @Beeftitan 2 роки тому +3

    OOP its hard to go wrong (or i should say harder) with organization of code. Its not to say its the best way to organize code but for many people its simpler to think in OOP terms, and have some sort of code structure. The average persons functional or procedural is a mess, with everything everywhere. When your average person does OOP it atleast kind of forces you to put things related to a thing in one spot. I have seen and worked on horrible attempts at OOP so its possible to fuck up.
    Basically the best implementations of functional or procedural programming will be faster and easier to maintain and expand than the best OOP implementation

    • @drygordspellweaver8761
      @drygordspellweaver8761 Рік тому +10

      “ The average persons functional or procedural is a mess”
      Since the average person does OOP and has no idea how to program, that’s probably true.

  • @rodrigoetoobe2536
    @rodrigoetoobe2536 23 дні тому

    Why is he explaining Socialism?

  • @atillacodesstuff1223
    @atillacodesstuff1223 8 місяців тому

    that's a lot of words to basically say, "oop sounds cool in theory but usually it is misused"

    • @jamesevans2507
      @jamesevans2507 6 місяців тому +4

      Your listening comprehension is utterly terrible

    • @jamesevans2507
      @jamesevans2507 6 місяців тому +3

      Maybe take your brain with you the next time you watch a programming video

  • @MrMaksibon
    @MrMaksibon 6 років тому +9

    It sounds funny from the person who created the most useless and huge material for learning programming.
    He's trying to get a Grail of education, but we all know that any newbie will not waste his time on all these numerous hours of video, you will literally get too little compared to the time spent on it.
    But nice try Casey, we will consider this bad experience in future education. 👍

    • @kebugcheck
      @kebugcheck 6 років тому +26

      98
      almost a millennial
      you're already lost
      go suck that barney straw

    • @tomislavstipancik2322
      @tomislavstipancik2322 6 років тому +23

      Interesting. So if you were in a situation where you wanted to build something that is addressed in one of his videos you would not watch that video?

    • @Microtardz
      @Microtardz 6 років тому +38

      You don't have to "waste your time on all these numerous hours of video".
      The videos are titled quite well, so you can find things you find interesting yourself.
      And, frankly speaking, the first dozen or so episodes are extremely educational themselves and well worth the time.

    • @sethtaylor7519
      @sethtaylor7519 5 років тому +10

      You get out what you put in and it sounds like you didn't put enough in!

    • @TheSandvichTrials
      @TheSandvichTrials 4 роки тому +31

      Handmade Hero has been a very positive transformative influence on my and many other people’s programming. I’d go so far as saying it is the best educational resource on programming I’ve ever consumed. But sure, go off, friend.