Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Insider News
  4. Goodbye, Object Oriented Programming

Goodbye, Object Oriented Programming

Scheduled Pinned Locked Moved The Insider News
comtoolsoop
17 Posts 12 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Kent Sharkey

    Medium[^]:

    It’s taken me years to realize how OO lied to me. I too was wide-eyed and inexperienced and trusting.

    "A bad craftsman always blames his tools"

    F Offline
    F Offline
    FIorian Schneidereit
    wrote on last edited by
    #6

    He forgot to mention that functional programming has its own weaknesses as well. In some regards, it just gives you the opposite of object-oriented programming. For example, in the object-oriented world, you deal with a closed set of functions over an open set of objects, and in the functional world, you deal with an open set of functions over a closed set of objects. The triangle problem, at least the example he gave, is not a problem at all if you realize that a copier is really just a container of a scanner and a printer that delegates both to make it work correctly (first scan, then print). This is not an inheritance problem, even if multiple inheritance was possible it wouldn't be logical to use it here. Both object-oriented and functional programming are powerful ways to solve problems - if done right, you don't have to blame one and abandon it for the other. But I guess it seems to be en vogue to make a fuss about the old way and glorify the new way.

    1 Reply Last reply
    0
    • K Kent Sharkey

      Medium[^]:

      It’s taken me years to realize how OO lied to me. I too was wide-eyed and inexperienced and trusting.

      "A bad craftsman always blames his tools"

      RaviBeeR Offline
      RaviBeeR Offline
      RaviBee
      wrote on last edited by
      #7

      Charles Scalfani wrote:

      And great. Now it won’t compile. Why?? Oh, I see… This object contains this other object.

      Looks like this self-styled architect isn't unaware of dependency injection.  Never before was "a bad craftsman always blames his tools" more apt. /ravi

      My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

      R 1 Reply Last reply
      0
      • RaviBeeR RaviBee

        Charles Scalfani wrote:

        And great. Now it won’t compile. Why?? Oh, I see… This object contains this other object.

        Looks like this self-styled architect isn't unaware of dependency injection.  Never before was "a bad craftsman always blames his tools" more apt. /ravi

        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #8

        His naivety has virtually made him look like an object to be laughed at.

        T 1 Reply Last reply
        0
        • R Rajesh R Subramanian

          His naivety has virtually made him look like an object to be laughed at.

          T Offline
          T Offline
          TheGreatAndPowerfulOz
          wrote on last edited by
          #9

          that's just bad, really bad.

          #SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

          R 1 Reply Last reply
          0
          • T TheGreatAndPowerfulOz

            that's just bad, really bad.

            #SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

            R Offline
            R Offline
            Rajesh R Subramanian
            wrote on last edited by
            #10

            Mister, this is a private discussion. ;P

            RaviBeeR T 2 Replies Last reply
            0
            • M Marc Clifton

              Kent Sharkey wrote:

              "A bad craftsman always blames his tools"

              A good craftsman also always blames his tools. ;) Marc

              Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

              R Offline
              R Offline
              Rob Grainger
              wrote on last edited by
              #11

              Nah, a good craftsman just uses the correct, quality tools, and cares for them.

              "If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.

              1 Reply Last reply
              0
              • K Kent Sharkey

                Medium[^]:

                It’s taken me years to realize how OO lied to me. I too was wide-eyed and inexperienced and trusting.

                "A bad craftsman always blames his tools"

                V Offline
                V Offline
                Vark111
                wrote on last edited by
                #12

                This was posted recently? These are concerns devs have had with OOP for 2 decades if not more. Inheritance? That's why we prefer composition thees days. Encapsulation? His example is just a poorly thought-out architecture. Polymorphism? Arguably the strongest reason to use OOP, and he doesn't even address it. Blaming the tool indeed.

                1 Reply Last reply
                0
                • R Rajesh R Subramanian

                  Mister, this is a private discussion. ;P

                  RaviBeeR Offline
                  RaviBeeR Offline
                  RaviBee
                  wrote on last edited by
                  #13

                  I don't get it - it's too abstract for me. /ravi

                  My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                  R 1 Reply Last reply
                  0
                  • K Kent Sharkey

                    Medium[^]:

                    It’s taken me years to realize how OO lied to me. I too was wide-eyed and inexperienced and trusting.

                    "A bad craftsman always blames his tools"

                    M Offline
                    M Offline
                    Master Man1980
                    wrote on last edited by
                    #14

                    How about a veggie shark or a flying ant. You could do that in OOP. Wouldn't you ? :)

                    1 Reply Last reply
                    0
                    • R Rajesh R Subramanian

                      Mister, this is a private discussion. ;P

                      T Offline
                      T Offline
                      TheGreatAndPowerfulOz
                      wrote on last edited by
                      #15

                      groan

                      #SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun

                      1 Reply Last reply
                      0
                      • K Kent Sharkey

                        Medium[^]:

                        It’s taken me years to realize how OO lied to me. I too was wide-eyed and inexperienced and trusting.

                        "A bad craftsman always blames his tools"

                        J Offline
                        J Offline
                        Joe Woodbury
                        wrote on last edited by
                        #16

                        Recently seen a few articles like this; all show a tremendous ignorance of OOP and then set up massive straw men to make their point. Which is? Since the articles seem like retreads of each other, I wonder if someone is about to present Yet Another Perfect Computer Language to the world.

                        1 Reply Last reply
                        0
                        • RaviBeeR RaviBee

                          I don't get it - it's too abstract for me. /ravi

                          My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                          R Offline
                          R Offline
                          Rajesh R Subramanian
                          wrote on last edited by
                          #17

                          I see a pattern here.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups