Theo Reacts to Prime Reacts To Professor Reacting To Prime Reacting To FP

Поділитися
Вставка
  • Опубліковано 26 лис 2023
  • I was forced to do this, please don't bully me too much. Y'all probably know my thoughts on Object Oriented Programming vs Functional Programming already (I think)
    "ORIGINAL" VIDEO: • Prime Reacts To Profes...
    Check out my Twitch, Twitter, Discord more at t3.gg
    S/O Ph4se0n3 for the awesome edit 🙏
  • Наука та технологія

КОМЕНТАРІ • 223

  • @wesleycoder
    @wesleycoder 7 місяців тому +223

    There's so many layers of content in this video that it looks a lot like the codebases I've worked in the past 5 years.

    • @SashaInTheCloud
      @SashaInTheCloud 7 місяців тому +4

      Hopefully you got enough benefits to afford therapy for that PTSD 😮

    • @arnokhachatourian8928
      @arnokhachatourian8928 7 місяців тому +2

      Hipster Adam Scott dev reacts to squeaky Dr. Disrespect dev reacting to based professor reacting to… Yup mental segfault. Somebody kick my chair 😂

  • @FeckOffTeaCup
    @FeckOffTeaCup 7 місяців тому +53

    The amount of abstraction in this video leads me to believe Theo is a closet OOP programmer.

  • @nitswaa1935
    @nitswaa1935 7 місяців тому +29

    THIS WAS LITERALLY MY PROFESSOR FOR PROGRAMMING LANGUAGES AHHHHHHHH
    And yes we did spend many classes discussing blog posts and whatnot. Honestly was a nice way to dip our toes into the "real world" discussion of software development lol

  • @abdulazizaskaraliev6119
    @abdulazizaskaraliev6119 7 місяців тому +54

    prime and theo's so funny at this point. They are like little brothers who'd always fight but care for each other

    • @blazinghellwheels
      @blazinghellwheels 7 місяців тому +4

      Theo just enlightened me about Primes' consistency. That's wild

  • @alexenax1109
    @alexenax1109 7 місяців тому +53

    Yes, can you make a video about OOP vs FP or share the links of the videos that you have recorded about this topic? As you said at university (even in Italy ) they stress you a lot about OOP and you start to think that OOP is the best way to do things

    • @davidsiewert8649
      @davidsiewert8649 7 місяців тому +3

      Just a typical example of universities teaching outdated stuff.
      Tech is best learnt by example building stuff because it moves so fast forward.

    • @JesusVargas-oh5so
      @JesusVargas-oh5so 7 місяців тому

      Richard Feldman talks about it ua-cam.com/video/6YbK8o9rZfI/v-deo.htmlsi=L7iBYgGGFU9CAxAh
      ua-cam.com/video/3n17wHe5wEw/v-deo.htmlsi=TOjLE2HIY8mIoWUr

  • @dairyisfine
    @dairyisfine 7 місяців тому +14

    i only had time to watch one video this morning so this was really efficient and allowed me to watch 4 videos at once. thanks Theo!

  • @banzomaikaka
    @banzomaikaka 7 місяців тому +5

    The key issue lies in the nature of how individuals experience A and B. Since A is experienced generally under some form of compulsion or necessity, and B is experienced by choice, the resulting satisfaction ratings are not directly comparable.
    1. **Forced vs. Voluntary Experience**: People might rate A more favorably not necessarily because it's intrinsically better, but because their expectations or attitudes towards it are different due to the forced nature of the experience. In contrast, choosing B might come with a pre-existing positive bias, as people tend to choose things they already like or expect to enjoy.
    2. **Expectation and Perception**: When people are forced into something (like A), they might have lower expectations, making it easier to have a satisfactory experience. Conversely, when people choose something (like B), they might have higher expectations, which could lead to disappointment even if the experience is objectively good.
    3. **Contextual Bias**: The survey's conclusions are skewed by the context in which A and B are experienced. This context significantly influences satisfaction levels, but it is not accounted for in the simple comparison of scores.
    Therefore, the survey's conclusion that A is better than B is not valid without considering the different contexts in which these experiences occur. A more accurate survey would need to account for these differences in how people come to experience A and B.
    This phenomenon is closely related to what's known as "response bias" in survey methodology. Specifically, it resembles a type of response bias called "selection bias" or "voluntary response bias." Here's a breakdown:
    1. **Selection Bias**: This occurs when the survey sample is not representative of the population due to the manner in which participants are selected or choose to participate. In your example, the experiences of A and B are not equally representative because one is forced and the other is chosen.
    2. **Voluntary Response Bias**: Particularly relevant to your scenario, this bias happens when individuals choose to participate in a survey, often leading to over-representation of certain opinions or experiences. People who have strong opinions or specific experiences (like those choosing B) are more likely to participate.
    Additionally, this could also touch on aspects of:
    - **Confirmation Bias**: If people choose B because they already believe they will like it, their positive experience might be influenced by their expectation to like it.
    - **Cognitive Dissonance**: People might rate their chosen option (B) more favorably to justify their choice and align with their self-perception.
    Understanding these biases is crucial for interpreting survey results accurately and for designing surveys that minimize these distortions.
    Thanks ChatGPT

  • @subhranshudas8862
    @subhranshudas8862 7 місяців тому +9

    This is why I need 4 monitors

  • @Mischu708
    @Mischu708 7 місяців тому +57

    I want someone to Next on Theo Reacting to Prime Reacting on a Professor Reacting on Prime.

    • @BogdanTestsSoftware
      @BogdanTestsSoftware 7 місяців тому +4

      Also don't forget the first Prime vid in this "pointer list" was also a reaction to *Continous Delivery* reacting to OOP vs FP discussion.

    • @Kane0123
      @Kane0123 7 місяців тому +2

      I see what you did there… next instead of react… very good

    • @MartinPutniorz
      @MartinPutniorz 7 місяців тому +1

      The CEO of HTMX is next in this chain.

    • @SashaInTheCloud
      @SashaInTheCloud 7 місяців тому

      The deepest layer is a guy reacting to himself and I support this madness

  • @miguelmahecha88
    @miguelmahecha88 7 місяців тому +5

    I'd really like a video on functional vs object oriented programming. I'm in college right now taking both an OOP class and a Discrete Math class (where we use haskell to write certain algorithms, we're not building apps with it, just simple functions). I'm really digging functional programming, but I also like this idea of modelling and designing apps in UML for oop. So I guess my brain is becoming dependand on the OOP paradigm since my first (and only way right now) to think about designing an application is the OOP way. So yeah I'd love to know more about FP since my college doesn't really have a dedicated class for that paradigm, so since I have to learn it on my own I would love to see more content on it.

  • @sahilaggarwal2004
    @sahilaggarwal2004 7 місяців тому +8

    "We are so deep boys... we are so deep"
    ~Theo 2023

  • @maid768
    @maid768 7 місяців тому +2

    18:33 when inferring return types, doesn‘t that make your application vulnerable to errors?
    Doesn‘t the compiler might misrefer the type and therefore create an error?
    I believe I would rather explicitly define a return type and be on the safe side instead of letting the compiler choose.

    • @user-qm4ev6jb7d
      @user-qm4ev6jb7d 7 місяців тому +2

      Yeah, seriously, inferred return types are evil. If you need an ability to "change it in all places quickly", make it a type-level constant or whatever. In the worst case, make it a preprocessor "define". That's still better than inferred.

  • @mustafazakiassagaf1757
    @mustafazakiassagaf1757 7 місяців тому +29

    as a main "react dev" 😂. i see what you did there

  • @AndrewEddie
    @AndrewEddie 7 місяців тому +6

    I felt this was more a disagreement about definitions. I'd like to see a follow-up to this but using practical, relatable real-world examples of "code" that very clearly show where the different paradigms shine and where they don't. I have A LOT of respect for both Dave Farley and Theo, but using just words to make your point is hard for we industry mortals to extract the wisdom. More code would be appreciated. The bottom line is if you don't know what you are doing, you can write some pretty bad OOP and pretty bad FP. If you do know what you are doing you can write some pretty good OPP and some pretty good FP.

  • @lukaswerner4390
    @lukaswerner4390 7 місяців тому +13

    I really want to see your fp vs oop cuz this is something I have to discuss all the time in uni because it is taught left and right

    • @natescode
      @natescode 7 місяців тому +3

      OOP isn't well defined. Abstraction, Encapsulation and Polymorphism aren't exclusive to OOP. Inheritance, maybe but even OOP devs know inheritance is bad.

    • @lukaswerner4390
      @lukaswerner4390 7 місяців тому

      @@natescode my main reason for asking for a vid is so I can point ppl to it instead of trying to pick a fight myself 😂

  • @keithjohnson6510
    @keithjohnson6510 7 місяців тому +3

    It's strange how as coders we love correcting other coders on the correct wording. Take for example the comment, "FP v OOP, are just different tools to get a job done," massive backlash, "No it's not, it's a paradigm". Good grief, you can't understand the context of the speaker, just because he used the wrong word, really?
    Been coding for many years, too long maybe. :), my first proper language C, then moved to C++ (even a bit of MI), Pascal, C#, more recently a little bit of GO/Rust, and now mainly JS/TS. So I would say I have a good grasp of OOP, and have to say FP is way better, and I would put it down to one word "composition", I don't just mean composition in terms of components either, even back end services benefit here.
    Looking back, I believe if C had implemented closures, then I don't think C++ would have even been a thing, maybe some namespacing would have been nice too, akin to file/directory namespacing with export/import, not the nightmare C# uses.. :)

  • @yaaaayeet745
    @yaaaayeet745 7 місяців тому +8

    Now we want prime to react to this!

  • @samcalder6946
    @samcalder6946 7 місяців тому +2

    Which one is the primary Prime, and which one is the secondary Prime?
    Or is this a Composite Prime?

  • @bastoo0ctb
    @bastoo0ctb 7 місяців тому +3

    This video has more abstraction layers than your average OOP codebase

  • @danielmajer1648
    @danielmajer1648 7 місяців тому +1

    Yesss!! I was waiting for this!! Let's keep it going!! LowLevel WHERE ARE YOU?!

  • @AndrewEddie
    @AndrewEddie 7 місяців тому +1

    Another thought: it would be great for any OOP vs FP vs ?? to include the associated unit/integration/automated tests that go along side them. For me, TDD influences my final code far more than the paradigm I choose.

  • @leroviten
    @leroviten 7 місяців тому +8

    We need to dwell upon this OOP vs FP shit on this channel, dude...

  • @coffee-is-power
    @coffee-is-power 7 місяців тому +3

    This is turning into a huge meme 😂😂😂

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

    Truly the peak of reaction content

  • @hypermiraclepositivegirl2415
    @hypermiraclepositivegirl2415 7 місяців тому +1

    Please make a video thoroughly distinguishing all the programming paradigms. This seems to be confusing every time I look at it. Especially procedural programming. If possible, also throw some light on languages supporting multiple programming paradigms like functional and class based approach in java for example. Do we just mix the style of programming within a codebase according to one's preference?

  • @samarnagar9699
    @samarnagar9699 7 місяців тому +2

    We need the original creator to reat to this come on Theo and prime fans assemble

  • @zeocamo
    @zeocamo 7 місяців тому +1

    do it, FP for the win, we need more videos that hammer the point home.

  • @c4tubo
    @c4tubo 7 місяців тому +3

    100% on the point of "encapsulation" in FP vs OO

  • @mehdi-vl5nn
    @mehdi-vl5nn 7 місяців тому +1

    Object-Oriented Analysis and Design (OOA/OOD) for OOP, what is the counterpart for Functional Programming (FP)?

  • @Blaisem
    @Blaisem 6 місяців тому

    Ok I went back over 6 months in your history and it took kind of some time. Still can't find your take on functional programming that you mentioned. Would love to hear it!

  • @EraYaN
    @EraYaN 7 місяців тому +1

    Haskell would have never “caught on” like how C did, since it’s just a completely different use case (and time). And besides C is many things but not OOP, it has no objects. It’s strictly procedural.

  • @LC12345
    @LC12345 7 місяців тому +2

    Theo name-dropping DarkViperAU suddenly was unexpected

  • @aliaksandr3174
    @aliaksandr3174 7 місяців тому

    The whole video is the best example of recursion ever

  • @oleksiistri8429
    @oleksiistri8429 7 місяців тому +2

    UA-cam might need to check and reconsider their video titles length, something tells me - soon it will be needed

  • @St4rdog
    @St4rdog 7 місяців тому +1

    Yes to an OOP vs FP video as a "there's another way to do it" kind of video. Show OOP polymorphism then FP pattern matching, etc.

  • @parsanasirimehr7267
    @parsanasirimehr7267 7 місяців тому +1

    18:40 You are not letting that go are ya?😂

  • @Wielorybkek
    @Wielorybkek 7 місяців тому +5

    I think that better definition of OOP is "code made of objects calling each other's methods" while FP is "code made of functions executing each other". All the rest is pretty much nonsense, everything people say is "functional" can be practised within OOP and vice versa if you are stubborn enough. There are some concepts that are impossible within some languages like tail-recurrsion optimisation or simply lack of a way to attach functions to data structures but other than that it's pretty much it.

    • @matijamilicevic1097
      @matijamilicevic1097 3 місяці тому

      I disagree with your definitions of fp and oop, though they do not really have well specified definitions.
      OOP is about modeling state with (domain) objects, while FP is about minimizing state and moving it to the edge of the system.

  • @wtwingate
    @wtwingate 7 місяців тому +1

    Please sir, can I have some more (OOP vs FP) content?

  • @filipkalny6594
    @filipkalny6594 7 місяців тому

    Truly unhinged, thank you for your contribution

  • @vorant94
    @vorant94 7 місяців тому

    level of discussion about layers of abstractions:
    - one is talking about numerous different layers of business logic, different hierarchies and so on that are probably going to break (logically, not just wrong type reference) with the next small code piece
    - other is talking about implicit / explicit return type in TypeScript, because you have to change this return type in several places once you decide to do so
    ....

  • @darkoplax7688
    @darkoplax7688 7 місяців тому +3

    These reactions of reactions is the Abstraction from OOP

  • @Iandavidandrino
    @Iandavidandrino 7 місяців тому

    i'd love to see a video of prime reacting to this !!

  • @devviz
    @devviz 7 місяців тому +1

    13:20 the satisfaction in *_"it's a wrong take"_* lmao

  • @kaioneal6160
    @kaioneal6160 7 місяців тому +1

    Professor Skipping things they don’t agree with is so true
    And when you ask them why, they use pseudo code so you can’t understand why they disagree

  • @himalczyk258
    @himalczyk258 7 місяців тому +1

    Chain of Reactivity pattern recognised

  • @antsmasherjack
    @antsmasherjack 7 місяців тому +1

    When you use recursion to create multiple levels of reactions to reactions.

  • @hamesjetfield0
    @hamesjetfield0 7 місяців тому +13

    Theo: You must keep your videos advertiser friendly.
    Also Theo: The kids are so fucked.

  • @StabilDEV
    @StabilDEV 7 місяців тому

    I wish I could see Prime reacting to Theo as well. Also interested in the profs and the og youtuber's reaction to all that

  • @Ripred0219
    @Ripred0219 7 місяців тому

    Would love an OOP vs FP in-depth video!

  • @kmp3e
    @kmp3e 7 місяців тому

    Can’t wait to see primes reaction

  • @JackTDipper
    @JackTDipper 7 місяців тому

    So which pause button is the one I need to use?

  • @mchisolm0
    @mchisolm0 Місяць тому

    Thanks! Yeah, it is interesting that AP CS A specifically requires I teach Java and focus on OOP. Another reason I basically want to learn everything I can so I can get my students aware of more of these things. Also, cool suggestion on encouraging students to join these kinds of communities. My only concern as a high school teacher is the legal liabilities. If I point students to a community and people in there curse, bully, or share NSFW content, the school and I are arguably responsible for protecting the students against that.

  • @rufio.tf2
    @rufio.tf2 7 місяців тому

    I watch Rich Hickey's presentations a lot (who created Clojure). Would love to see you riff on one of his talks. My intro to him was the talk "Simple Made Easy", which is about the philosophy and goals of FP rather than anything too Clojure-specific.

  • @SatoshiCommentorto
    @SatoshiCommentorto 7 місяців тому

    I like the part where Prime is making fun of the prof enjoying doctor disrespect. They must have installed a new bulb in Primes projectoooooor

  • @phonix2627
    @phonix2627 7 місяців тому

    I really had this idea for a youtube video with mamy layers reacting. 😂

  • @SashaInTheCloud
    @SashaInTheCloud 7 місяців тому

    This hit me right in the AuDHD. This is what my mind is like, but there are ~5 to 50 layers at any given time that intersect in a many to many relationship.

  • @j.r.r.tolkien8724
    @j.r.r.tolkien8724 7 місяців тому +1

    I'd like to hear your take on OOP vs FP.

  • @JohnVandivier
    @JohnVandivier 7 місяців тому

    Gonna have to react to this

  • @dez0rted291
    @dez0rted291 7 місяців тому +1

    we need an extra primeagen reaction to this

  • @jamesc2810
    @jamesc2810 7 місяців тому

    Couldn’t believe it when I heard darkviper being mentioned. 😂

  • @thePradiptalks
    @thePradiptalks 7 місяців тому +1

    I do want functional vs OOP
    Would love to know the difference better

  • @AlexandruVoda
    @AlexandruVoda 7 місяців тому

    What is the length limit for video titles on youtube? How many more links on this chain do we need to hit it?

    • @natescode
      @natescode 7 місяців тому

      12 hours so we got room for a few more

    • @AlexandruVoda
      @AlexandruVoda 7 місяців тому

      @@natescode the length of the title in characters not the length of the video.

  • @justgame5508
    @justgame5508 7 місяців тому +1

    While loops and for loops have nothing to do with OOP, they are concepts in procedural programming

  • @emmanuelgenga7421
    @emmanuelgenga7421 7 місяців тому

    Funny thing is while watching this all I see is the video in container with padding that's pinkish-purple then the video player. It reminds me of nesting

  • @viko1786
    @viko1786 7 місяців тому

    Did anybody notice that on the second Prime, the comment section of the professor's video, there is a comment that suggests Prime to react to the professor (21:30)?

  • @mikoajkarwacki4473
    @mikoajkarwacki4473 7 місяців тому

    What headphones are you using?

  • @offroaders123
    @offroaders123 7 місяців тому

    This feels like one of those Nickelodeon crossover episodes where characters from other shows appear on another show, and vice-versa 😂
    Oh yeah, "The Jimmy Timmy Power Hour" 😂

  • @kishDoesThings
    @kishDoesThings 7 місяців тому

    So many layers of abstraction makes you forget your goal?
    But docker is made of layered architecture

  • @hypermiraclepositivegirl2415
    @hypermiraclepositivegirl2415 7 місяців тому

    18:32 Is Theo's point here that codebases where we need a lot of abstractions blends well with dynamic typed languages like JS? I couldn't complete understand the point behind the sarcasm. What I understand is that Prime is arguing that multiple levels of abstractions becomes problematic to work with due to types being a pain to deal with(hence the preference for 1D abstraction) while Theo's argument seems to suggest that dynamic languages help to relieve this pain point? Did I get this right?

  • @javierneri81
    @javierneri81 7 місяців тому +2

    And so, the infinite monetization loop begins

  • @maxwebstudio
    @maxwebstudio 7 місяців тому

    This is a rabbit whole 😂

  • @EEBDivyanshgupta
    @EEBDivyanshgupta 7 місяців тому +2

    We want a Prime reaction on this!!!!!!!!!!!!

  • @valentino7378
    @valentino7378 7 місяців тому +1

    Let's make Prime react to this now

  • @Sindoku
    @Sindoku 7 місяців тому

    How about “tool affinity” vs “forced adoption” for the framework of choice vs forced react (respectively)?

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

    This is just so funny.

  • @Kapza94
    @Kapza94 7 місяців тому

    Good laughs on this one 😂

  • @philadams9254
    @philadams9254 7 місяців тому +1

    Patiently waiting for Dave Farley's reaction

  • @Rick104547
    @Rick104547 6 місяців тому

    Just like we add abstraction layers we need another layer of reacts to videos

  • @randall.chamberlain
    @randall.chamberlain 7 місяців тому

    Oh ... I see a Prime video reaction to this reaction to him reacting to the professor reacting to him reacting to Dave Farley

  • @damienlmoore
    @damienlmoore 7 місяців тому

    Re tools vs paradigms: paradigms are tools you use to shackle your fellow programmers to your preferred way of doing things 😂

  • @ZohaibSibteHassan
    @ZohaibSibteHassan 7 місяців тому

    This is true inception 5 layers deep having a fight!

  • @yegwheel
    @yegwheel 7 місяців тому +1

    Whenever someone says Haskell this and that as part of their effort to disparage FP I know it isn't a serious conversation happening. Talk about using FP programming principles in JS or C#, and now we're talking about FP in the context of real world problems and solutions...and I'm interested.

    • @natescode
      @natescode 7 місяців тому

      Which isn't pure FP. Multi Paradigm for the win.

  • @akuoko_konadu
    @akuoko_konadu 7 місяців тому

    The cycle is complete 🤣

  • @jonkf7548
    @jonkf7548 7 місяців тому +1

    This is how we will get DarkViperAU to learn programming.

  • @yohendryy
    @yohendryy 7 місяців тому

    Guys, are we seeing recursion happening before our 👀?

  • @mohitkumar-jv2bx
    @mohitkumar-jv2bx 7 місяців тому +1

    Theo piggy backing on Prime 😂😂

  • @Tekay37
    @Tekay37 7 місяців тому +1

    OOP was not "prescribed to us by academia". OOP was successful because of Sun and Java. There was marketing strategy by a big company that promoted OOP. Academia just followed that trend. Because Java became popular, Academia started teaching OOP because students would have to learn it.
    However, the OOP definition here is really bad. The one thing you supposedly get from OOP is syntactic sugar for dependency inversion. In C you would need explicit pointers to functions, where you don't get proper type safety any more. In OO languages you get to define interfaces, which allow you to get type safety again, when passing different objects that implement the same methods.
    That said, other paradigms have already caught up on this, and there now is proper syntactic sugar for pointers to functions in some languages of other paradigms as well, so the only real benefit of OO is gone.

    • @keithjohnson6510
      @keithjohnson6510 7 місяців тому +1

      Java would have helped, but I think you missed the big one. C++, Java came out in 1996, C++ was 1985.

  • @kristiannn
    @kristiannn 7 місяців тому +6

    I would love to see your go through code examples of OOP and FP and then explain why FP is better

  • @succatash
    @succatash 7 місяців тому

    Prime seems like the *main* react dude on YT

  • @unusedTV
    @unusedTV 7 місяців тому +1

    This was uploaded exactly in time for my extended morning ritual.

  • @sardo-tech
    @sardo-tech 7 місяців тому

    Prewatched!

  • @domthedoer
    @domthedoer 7 місяців тому

    Inception at its finest 🤣

  • @Shubhampalsingh7
    @Shubhampalsingh7 7 місяців тому +1

    Multiverse of madness

  • @Rupour
    @Rupour 7 місяців тому

    We must need to go deeper...

  • @kaioneal6160
    @kaioneal6160 7 місяців тому

    Please talk about OOP vs FP

  • @sifatulrabbi
    @sifatulrabbi 7 місяців тому

    Feels like Im passing around pointers.

  • @bholmesdev
    @bholmesdev 7 місяців тому +1

    Not even the app router can handle all this nested content

  • @skeleton_craftGaming
    @skeleton_craftGaming 7 місяців тому +3

    my c++ brain wanting to be mean to JS/TS devs....

  • @luskira
    @luskira 7 місяців тому

    19:56 HAHAHAHHAHA I'M DEAD

  • @donenv
    @donenv 7 місяців тому

    professor reacts to theo reacts to prime reacts to profressor reacts to prime reacts to that guy we all don't know about