• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Life on the bench: in my dressing gown

Collapse
This topic is closed.
X
X
Collapse
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    I think the main reason for the object oriented approach is the growth in complexity of and number of people involved in software projects. You need modularity so that code can be developed by different teams and then fit together.

    Comment


      Originally posted by DieScum View Post
      I think the main reason for the object oriented approach is the growth in complexity of and number of people involved in software projects. You need modularity so that code can be developed by different teams and then fit together.
      That was also achievable successfully using structured programming techniques. At my first job, a software house, we (loosely) used top down design and when predictably re-usable components were met we used bottom up programming to produce libraries. Libraries were documented 'black boxes' containing I/O management, definitions, standard formulae and anything else that relates to the 'thing' being coded.

      I suppose I can see the use of OO in SAP or Oracle where there are shedloads of modules with common components and a product that will evolve over time, but quite what the point is in a small team writing a bespoke system, I cannot see. There is little re-use and communication is not an issue; just make sure the code is sensibly structured and self-documenting.
      My all-time favourite Dilbert cartoon, this is: BTW, a Dumpster is a brand of skip, I think.

      Comment


        Originally posted by RichardCranium View Post
        Funny, innit. Functional makes sense to me: just tell the computer what it is to do.

        But I cannot get the object oriented paradigm to fit inside my head: it just won't plug in anywhere. It does not feel logical. It doesn't make sense. I look at code written that way and it doesn't talk to me.

        I have read plenty of books and articles on it for over 15 years, but I just don't get it. I cannot see the philosophy behind it, and have yet to find some words that can explain it.

        I've seen plenty of words on "how to do it", and rather weak arguments on why it is better (I am not in the least convinced) but none that explain the underlying "why it is how it is".


        "The Astra instance of the car object has an attribute of steering which has a method of turning and its value is to be left." Just turn left, FFS!

        Is this a joke ?

        Object oriented programming hides complexity of underlying boxes / components which do all sorts of codes that a progrmmer does not have to write each time but can rather reuse each time.

        Am I up for this development thing ?
        Last edited by newblood; 13 January 2010, 23:02.

        Comment


          Originally posted by RichardCranium View Post
          That was also achievable successfully using structured programming techniques. At my first job, a software house, we (loosely) used top down design and when predictably re-usable components were met we used bottom up programming to produce libraries. Libraries were documented 'black boxes' containing I/O management, definitions, standard formulae and anything else that relates to the 'thing' being coded.

          I suppose I can see the use of OO in SAP or Oracle where there are shedloads of modules with common components and a product that will evolve over time, but quite what the point is in a small team writing a bespoke system, I cannot see. There is little re-use and communication is not an issue; just make sure the code is sensibly structured and self-documenting.
          The answer (as always) lies in food.

          Structured programming worked until programs became to big to manage. This was known as spaghetti code. Hence the shift from C to C++, structured to OOD. So instead of spaghetti code, it's now ravioli code.

          Then came along N-Tier, which puts your objects into layers (or tiers) so now you have lasagne code.

          Or more accurately, lasagne and ravioli code.

          Mmmmmm, hungry now.

          HTH
          Knock first as I might be balancing my chakras.

          Comment


            Originally posted by RichardCranium View Post
            I cannot see the philosophy behind it, and have yet to find some words that can explain it.
            It hides the layers of badly written inefficient junk beneath what you are doing so you're not too horrified by it all.

            Comment


              Originally posted by shoes View Post
              It hides the layers of badly written inefficient junk beneath what you are doing so you're not too horrified by it all.
              I wish sometime it was locked way with no key, rather than hidded.

              Some days I feel brave and try to fix it
              Fiscal nomad it's legal.

              Comment


                Originally posted by NickFitz View Post
                Well, the whole point of the CLI around which .NET is built was to allow multiple language implementations. Given that there's a lot of legacy COBOL code around, it's not surprising that there's a CLI-based implementation.

                There are a great number of languages implemented around the CLI, including such delights as Scheme, Haskell, FORTRAN, Oberon, and of course LISP
                APL?

                Comment


                  Originally posted by suityou01 View Post
                  Old programmers never die, they just recurse.
                  Really old programmers are re-entrant
                  Last edited by Tarquin Farquhar; 14 January 2010, 10:05.
                  Step outside posh boy

                  Comment


                    Originally posted by zeitghost View Post
                    APL?
                    Does anyone still have that special golf ball for the printer?

                    Comment


                      I, also, have failed to transfer to the object oriented paradigm.

                      My paradigm shifter blew a fuse.

                      Ho Hum.

                      Then again, there's not much object orientation in assembler programming.

                      Or structure for that matter.

                      fred: GOTO fred

                      Comment

                      Working...
                      X