Terry Davis ignores Object Oriented Programming - McDonald's interview 2/4

Sdílet
Vložit
  • čas přidán 18. 09. 2023

Komentáře • 154

  • @iCrimzon
    @iCrimzon Před 10 měsíci +1040

    King Terry the Terrible implies OOP is complicated and wrong, so law it shall become

    • @tongpoo8985
      @tongpoo8985 Před 3 měsíci +34

      OOP is overused. I do like it sometimes but wow it can be a real mess

    • @kqvanity
      @kqvanity Před 3 měsíci +8

      so far, he seems to frown upon lengthy hierarchies, which is exactly what his interviewer mentioned

    • @MyWatermelonz
      @MyWatermelonz Před 2 měsíci +20

      Inheritance is being slowly phased out of languages like python/c++. Of course, it's still there to use, but they are making it so you won't want to. Terry was right again!

    • @UnknownString88
      @UnknownString88 Před 2 měsíci

      ​@@MyWatermelonz Yep and it's out of new gen languages like go and rust

    • @tongpoo8985
      @tongpoo8985 Před 2 měsíci +4

      @@MyWatermelonz oh really? How is it being phased out or made unfavorable?
      Inheritance is kinda fun when it works, there was like one time where I saw an opportunity to use it. But it wasn't necessary, it always just felt like a gimmick to me.

  • @realzguardian
    @realzguardian Před 3 měsíci +599

    java devs screaming in the background

    • @pro-socialsociopath769
      @pro-socialsociopath769 Před měsícem +6

      Twas my first language and exposure to "programming" of any sort. Cannot even stand looking at it anymore.
      The packages are useful for quick simple projects (on things like Android) but I still trying to clear my mind of all the bloat and BS it pumped in there... feeling like someone in recovery on My 600lb Life.

    • @pro-socialsociopath769
      @pro-socialsociopath769 Před měsícem +2

      Every time I look at Java code I get this strong yet subtle feeling of rage deep inside me. I feel like I got cheated... ;)

    • @fullmetaltheorist
      @fullmetaltheorist Před 26 dny +1

      OOP has been the source of many of my meltdowns.

    • @AutoFirePad
      @AutoFirePad Před 14 dny

      Nope. Java avoided multiple inheritance preferring interfaces and allowing programmers to simply ignore inheritance and working with implementations and components.

  • @DiggOlive
    @DiggOlive Před 2 měsíci +462

    man he is so lucid here. I wonder if being around others helped

    • @joseduarte9823
      @joseduarte9823 Před 2 měsíci +118

      Maybe it did, maybe it didn't, but isolation definitely does not help

    • @unhhgcrxexhjvuvujchcrzwzwz7956
      @unhhgcrxexhjvuvujchcrzwzwz7956 Před 2 měsíci +23

      I’m just more bummmed on the possibility that this is jsut him on his pills. Cause I pointed it elsewhere but in this conversation he seems completely normal

    • @freestyle1227
      @freestyle1227 Před měsícem +1

      ​@@unhhgcrxexhjvuvujchcrzwzwz7956he is 100%

    • @topazcicada
      @topazcicada Před měsícem +15

      Isolation doesn't help me in my experience. I tend to form more delusional ideas.

    • @someguy7576
      @someguy7576 Před měsícem +33

      @@unhhgcrxexhjvuvujchcrzwzwz7956nah, this was on his homeless arc. He was already off meds for a while at this point.
      Feel bad for the guy.

  • @kipchickensout
    @kipchickensout Před 2 měsíci +297

    me for 6 years: "hey this is actually nice and useful"
    terry: "it's shit"
    me: "it's shit"

  • @nikkehtine
    @nikkehtine Před měsícem +68

    These interviews show that despite his struggle with mental illness he was still a human pure at heart and a brilliant mind. Makes me feel better knowing that near the end of his life he was getting approached by fans and having nice conversations with them and got to share his thoughts. RIP King Terry the Terrible

    • @NightOwlErin
      @NightOwlErin Před měsícem +4

      Yeah, it's really nice to see, I agree. I like your pfp btw

  • @PR1V1LE6ED
    @PR1V1LE6ED Před 9 měsíci +676

    "public and private, I have no use for that"
    um...based?!

    • @keshi5541
      @keshi5541 Před měsícem +5

      no encapsulation whatsoever based?

    • @therealvbw
      @therealvbw Před měsícem +1

      I have used it for an SoA type with two vectors constrained to the same length.. private vectors and public const references to them

    • @pro-socialsociopath769
      @pro-socialsociopath769 Před měsícem

      Turned out to be a commie programmer all along...

    • @ismaelvc3728
      @ismaelvc3728 Před měsícem +1

      @@keshi5541 many abstractions == bad

  • @dante1109
    @dante1109 Před 2 měsíci +199

    We failed this great guy

    • @DoomGuy148.
      @DoomGuy148. Před 2 měsíci +48

      God gave Him a mission, to build a Temple of God and Worship, written in HolyC and displayed in 640x480 16bit.
      King Terry did so as asked and as reward, God took Him to into Heavens
      So He could keep building God's Temples and live besides God in His Kingdom of Heaven for the end and until end of time
      We might failed him but King Terry has not.

    • @ColinMcCormack
      @ColinMcCormack Před měsícem +6

      ​@@DoomGuy148.That's delusional.

    • @kylesawkon4074
      @kylesawkon4074 Před měsícem +15

      @@ColinMcCormackmaybe, you’ll find out sooner than later

    • @bobtheman6996
      @bobtheman6996 Před 27 dny +5

      ​@@kylesawkon4074 nah it's delusional

    • @boemiaperene
      @boemiaperene Před 24 dny +7

      @@bobtheman6996I’ll be praying for you

  • @sergeantsapient
    @sergeantsapient Před měsícem +75

    This man should have been protected at all costs.

  • @nulljeroka
    @nulljeroka Před měsícem +44

    Spoken truth from the world smartest programmer.
    He was such an incredible genius.

  • @Michael-Moo
    @Michael-Moo Před 9 měsíci +357

    Wow, he sounds completely normal in this, other than having an unpopular opinion

    • @Olter_
      @Olter_ Před 9 měsíci +120

      He always sounds normal. The difference is that in order to convey your thinking to other people it can't be as abstract or peculiar in structure as when you are talking to yourself

    • @jayrob3
      @jayrob3 Před 9 měsíci +1

      ​@@Olter_this

    • @blackhawk_Enochserpent
      @blackhawk_Enochserpent Před 9 měsíci

      he's not a rat.
      you were born as a rat.
      your father and your great grand mother were rats.
      you come from lineage of rats, so you are living and die like rats.
      But he is so genius.
      You can't comperhend them.

    • @riechen
      @riechen Před 8 měsíci +5

      @@Olter_nobody decides whats crazy or not besides god

    • @Olter_
      @Olter_ Před 8 měsíci +18

      @@riechen Psychologists decide what is crazy or not in the eyes of society. But theyre quacks

  • @joshsa4935
    @joshsa4935 Před měsícem +16

    Barely use multi-inheritance in C++, but public, protected, private is so genuinely helpful I wouldn't want to code without it. Although its not the end of the world with everything public, I honestly love the structure it brings to my code.

    • @ismaelvc3728
      @ismaelvc3728 Před měsícem +5

      If you know assembly everything is public and open source :P The way he liked it.

    • @joshsa4935
      @joshsa4935 Před měsícem

      @@ismaelvc3728 Yes, I've written assembly. But wouldn't want to write a 100,000+ line project in assembly. Use it when necessary. I do admire Terry's approach to simplicity though, Windows Vista, 8 and 11 could learn a lot from his philosophy.

  • @leshommesdupilly
    @leshommesdupilly Před 2 měsíci +90

    It´s not unsafe if you're guided by God

    • @Diogenes_Lantern.
      @Diogenes_Lantern. Před měsícem +2

      If you're "guided" by a "god", you're delusional. Quite simple.

    • @Slukke
      @Slukke Před měsícem +33

      @@Diogenes_Lantern. Ok redditor, I think the mod queue in r/atheism needs some attention

    • @Diogenes_Lantern.
      @Diogenes_Lantern. Před měsícem +1

      @@Slukke Damn, what an insult. You really got me there. Your creativity is showing.

    • @stevenmunich
      @stevenmunich Před měsícem +13

      ​@@Slukkehes a LGBTQ LatinXAI++ with a neurolonk implant in his brain that hooks up to x/itter. You can't make fun of xim because xe is a protrcted class. No pun intended.

    • @Diogenes_Lantern.
      @Diogenes_Lantern. Před měsícem

      @@stevenmunich Wrong; I'm very against the hbtq++ bullshit mafia, and I've barely ever been on twitter/facebook/instagram. But I'm also against idiocy (well, both are the same). Try again, but please use correct grammar since it hurts my soul seeing a language being butchered in that manner, and I have a hard time taking you seriously when you barely can string a sentence together.

  • @Glori4n
    @Glori4n Před měsícem +12

    No one will never truly undestand how amazing this man's mind was. What a loss to the world the day he was gone.

  • @rahuldev2533
    @rahuldev2533 Před měsícem +6

    I can by his talk, how much dedication he put in his work.

  • @alangrant5684
    @alangrant5684 Před 17 dny +3

    HolyC- I remember that.

  • @astrahcat1212
    @astrahcat1212 Před 9 měsíci +117

    At first learned procedural style, had a procedural style going into C#, everyone convinced me that oops was the way,use dit for 7 years, then realized when going back to procedural style it was simpler cleaner and made more sense.

    • @oliveryt7168
      @oliveryt7168 Před 9 měsíci +29

      It's not about "style". There's a certain way of thinking and problem solving that comes with a paradigm.

    • @iCrimzon
      @iCrimzon Před 9 měsíci +4

      Thats why i love Go, its neither fp or oop, its a bit of the best of both, dont have to commit to either

    • @WEF2030SLAVE
      @WEF2030SLAVE Před 9 měsíci

      @@iCrimzonwhat is that? Can you share website

    • @iCrimzon
      @iCrimzon Před 9 měsíci +4

      @@WEF2030SLAVE Go is a programming language, its neither FP or OOP and is instead procedural (i think)

    • @WEF2030SLAVE
      @WEF2030SLAVE Před 9 měsíci

      Thanks@@iCrimzon

  • @Gangster_God
    @Gangster_God Před 4 dny +1

    Daniel Day Lewis should play this guy in a movie

  • @NoOne-ev3jn
    @NoOne-ev3jn Před 13 dny +1

    The craziest thing with inheritance is that when you initiate a derived class all the classes up the inheritance chain will be initialised as well

  • @zacharyhall7466
    @zacharyhall7466 Před 9 měsíci +48

    The man was truly chosen by God

  • @wiskasIO
    @wiskasIO Před 4 měsíci +29

    I loved this man, I wish I could helped him in time :(

  • @AndrewLeCain
    @AndrewLeCain Před 16 dny +1

    There seems to be a flaw (feature?) of thinking in those who can think extremely abstractly to overindex on the more general case, even when it's not there. Mistaking the map for the territory. It seems that temple OS and holyC is an attempt to peel back the over-abstraction that seems to emerge from large groups of people working together and get to the raw "instance" of the abstract class.

  • @henrykkwinto4324
    @henrykkwinto4324 Před 25 dny +1

    That's true only if you work alone or with a small team. If you're working on a big project with hundreds of people, you just need a policeman.

  • @techlm76
    @techlm76 Před 11 dny +2

    I have developed quite a few projects that was inspired by him, I am working on my own custom 3D engine for example varoom with multiplayer support. Once I have fixed a few things on my 3D engine, I will make it easier for anyone that want to use my 3D engine for their projects.
    My most difficult project was the rocket simulator with realistic physics and you can build your own rocket.

  • @ryanvanzant4788
    @ryanvanzant4788 Před 7 měsíci +19

    we love you Terry Davis the greatest programmer that ever❤❤💯💯💯👽💜😉

    • @thanhquanky
      @thanhquanky Před 2 měsíci +2

      Chris Sawyer with RollerCoaster Tycoon as well

  • @bonchbonch
    @bonchbonch Před 11 dny

    He was unusually coherent in this interview.

  • @itmandar
    @itmandar Před 4 dny

    He was right

  • @Marshblocker
    @Marshblocker Před 8 měsíci +22

    No lies detected. Composition >> Inheritance. Procedural >> OOP

  • @Wariowa345
    @Wariowa345 Před 9 dny

    yeah that only works if the code is yours, its actually really useful in big projects

  • @EmberHolly
    @EmberHolly Před 2 měsíci +10

    You can still do OOP with a language not oriented around OOP, it's just harder. Like, objects are a fundamentally, philosophically useful concept, so they'll show up no matter what, but maybe instead of creating a class you use some sort of struct, etc.

  • @admirljubovic6759
    @admirljubovic6759 Před měsícem +1

    Based

  • @literallynull
    @literallynull Před 2 měsíci +5

    public/private isn't just about accessing things outside of class.
    Take C++, private constructors/destructors/assignment operators/etc. are useful to prohibit programmer of doing stupid things

    • @popoispoop6760
      @popoispoop6760 Před 2 měsíci

      He probably made HolyC with only his preferences in mind. If he removes all these guardrails he would move a lot faster. You can make comparisons with modern languages like Rust. Sure, they take away all the foot guns and have a really safe language but it makes writing the code take a lot longer. To an experienced programmer he probably has the confidence to catch pit falls in his code a lot more than someone else.

    • @ThePandaGuitar
      @ThePandaGuitar Před měsícem

      yeah we get it. still useless

    • @brodude9208
      @brodude9208 Před měsícem

      ​@@ThePandaGuitarsounds like it would be very useful for you

    • @JJFX-
      @JJFX- Před 9 dny

      That's the point. It's about giving an experienced programmer more freedom to easily do what they want. It's not that there isn't a place for such guiderails. I totally respect where he's coming from on a personal level.

  • @federicosalvetti4286
    @federicosalvetti4286 Před 2 měsíci +1

    It's true

  • @chrisathanasiadis
    @chrisathanasiadis Před měsícem +3

    Classes are really useful when it comes to code reuse. There's no need to fully use the OOP pillars in order to use classes. Classes can be part of a functional coding style.

    • @pro-socialsociopath769
      @pro-socialsociopath769 Před měsícem +1

      Yeah they are literally designed to serve an inherent... function. Some are just implemented in way worse ways then others

  • @KnjazNazrath
    @KnjazNazrath Před 9 měsíci +6

    Parts 3 and 4 when?

    • @qwkutiub
      @qwkutiub Před 8 měsíci

      czcams.com/video/wKm8rVaZfqg/video.html, czcams.com/video/Xo5VkbQb3mY/video.html

  • @hamster3171
    @hamster3171 Před 6 měsíci +48

    i always knew oop was stupid. good too know the best programmer shares this tought

    • @pro-socialsociopath769
      @pro-socialsociopath769 Před měsícem +2

      It's not stupid if you use it when it becomes useful or convenient for what you are trying to do. I just don't like languages like Java where you are forced to build everything around it for practically no reason. It already has its own security issues, don't try to dress it up like this is the solution to all of the world's problems lol

    • @hamster3171
      @hamster3171 Před měsícem

      @@pro-socialsociopath769 i was just struggling through an oop course in college back when i wrote that comment. Nothing too deep really

  • @untimateds
    @untimateds Před 20 dny

    ask him about "SOLID"

  • @gomo5628
    @gomo5628 Před 2 měsíci +18

    was this the Temple OS guy?...bro was god level coder, not a prodigy :)

    • @nico7674
      @nico7674 Před 2 měsíci +1

      yeah it's the guy who created TempleOS xD. That's the shame this man is so unknown from most of the people.

    • @ColinMcCormack
      @ColinMcCormack Před měsícem +1

      Have you looked at the code? I haven't.

    • @pro-socialsociopath769
      @pro-socialsociopath769 Před měsícem +1

      He was god's chosen programmer. He created the next temple

  • @C0ttageChees
    @C0ttageChees Před 2 měsíci +4

    Access modifiers are worthless

    • @keshi5541
      @keshi5541 Před měsícem +1

      encapsulation and data hiding 🤡🤡🤡

    • @C0ttageChees
      @C0ttageChees Před měsícem +2

      I know what they're for :)
      I just don't consider the necessary. Python is used for enterprise software and is growing in popularity and it has no such thing as access modifiers. Everything is done by convention instead.
      It's nice when you are testing that you can overwrite anything you want at any time
      Best principles can be dangerous too if you have a shop of developers that aren't very good

  • @copperpumpkin2648
    @copperpumpkin2648 Před 3 měsíci +5

    That's why I hate working with python very object oriented by Design

    • @yikesmoment01
      @yikesmoment01 Před 2 měsíci +3

      Wait 'til you see Java.

    • @brodude9208
      @brodude9208 Před měsícem +1

      Just because you have to type the keyword "class" doesn't mean that you're doing OOP. Python is in no way designed around OOP, but for serious projects you'd be an idiot not to enforce cohesion and abstraction through OOP concepts like polymorphism, encapsulation, interfaces and all that. There's a reason why the industry has moved on from C, OOP is not a new trendy fad it has been a standard for decades.

    • @pro-socialsociopath769
      @pro-socialsociopath769 Před měsícem +3

      Python is absolutely nothing compared to the full object oriented languages aka The 'J' Word.
      God I love it so much more, did Java first and this was a total breath of fresh air in comparison. It gives you the convenience of creating objects when it is useful for your purposes but still the freedom to create your own structures of execution if that is what you would rather do, although of course a lot slower than anything non-interpreted but much easier to get results when nothing is forced onto you.
      You don't even have to create a class object just to print "hello world". Amazing compared to the main one! Blew my mind!

    • @copperpumpkin2648
      @copperpumpkin2648 Před měsícem

      @@pro-socialsociopath769 maybe I should give Java a second chance, it's been a decade since the last time I seriously used it. And I also neglected the fact that it does enable a great deal of simplicity to stuff that would otherwise be a logistical nightmare to make work with.

    • @josephbrandenburg4373
      @josephbrandenburg4373 Před měsícem +1

      I disagree. Procedural code is easy in Python. The only place that is OOP "by design" is places where it makes sense (container classes).

  • @conker116_
    @conker116_ Před měsícem

    Can someone explain who he is? Has soke shorts recommended and he seems like a sound dude

    • @Bob-bs9ok
      @Bob-bs9ok Před měsícem +1

      Terry Davis was probably one of the best programers of our time. Made a whole OS (TempleOS) and forked C (holyC).

    • @conker116_
      @conker116_ Před měsícem

      @@Bob-bs9ok thank you

  • @swfh3542
    @swfh3542 Před měsícem

    Super geek god😊