• 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

    Originally posted by newblood View Post
    Is this a joke?
    No, it was not a joke, and I don't see how it could be read as one.

    Originally posted by newblood View Post
    Object oriented programming hides complexity of underlying boxes / components which do all sorts of codes that a programmer does not have to write each time but can rather reuse each time.
    So does structured programming. Libraries of 'black boxes' with documented purposes, inputs and outputs.

    Originally posted by suityou01 View Post
    Structured programming worked until programs became too big to manage. This was known as spaghetti code.
    Linear programming produces spaghetti code; anything over a few hundred lines was unmanageable. Structured programming does not produce spaghetti code and can produce manageable systems well into the millions of lines of code.

    But I like the pasta analogy.

    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.
    So does structured programming.

    <scuttles off and does some research>

    I see. Object Oriented Programming is a form of structured programming where the libraries ("modules") are nice and tidily formed around real world objects.

    What I was referring to is Procedural Programming which is a form of structured programming where organising the libraries (of data definitions, functions and procedures) requires cross-referencing in the documentation between the data definitions and the procedures which act upon that data.

    The difference is that Object Orientation allows the processes to be closely coupled to the data they act upon, thereby makings things a bit easier to manage.


    WTF couldn't any of the articles & manual I have read say that instead of saying how it changes the world completely when in fact it is just another progressive step? That'll be the usual hyped up marketing bollocks, then.

    Hmm. I bet the same people who rave about Object Oriented Programming also criticise Pascal, despite having never used it.


    For the record, it is possible to produce very large, complex, multi-platform, maintainable, commercial systems NOT using object oriented programming methods. But it does require the application of development standards and competent programmers.

    And I bet a crap programmer working in an object oriented environment produces unmaintainable code. And I'll bet some out there are producing linear code, too...
    My all-time favourite Dilbert cartoon, this is: BTW, a Dumpster is a brand of skip, I think.

    Comment


      Originally posted by zeitghost View Post
      APL?
      Visual APL

      Comment


        Originally posted by RichardCranium View Post
        Hmm. I bet the same people who rave about Object Oriented Programming also criticise Pascal, despite having never used it.
        I hate them both.

        I have a number of books on Pascal <spit>, one of which I had to read so I could hack the code for that silly Punk Table thingie about.

        I've never got to grips with OO, and never expect to.

        FORTRAN IV for ever.

        Comment


          Originally posted by NickFitz View Post
          Wonderful.

          Do you still need a magic golf ball?

          Or have things progressed?

          Comment


            Originally posted by RichardCranium View Post
            For the record, it is possible to produce very large, complex, multi-platform, maintainable, commercial systems NOT using object oriented programming methods. But it does require the application of development standards and competent programmers.
            I know. I worked on a system like that in the 1970s. It was written in COBOL, before "structured programming methodologies". But it was modular, analysed before it was written, subject to standards, documented, and done by competent programmers. It might still be running for all I knew (it was certainly y2k compliant).
            Step outside posh boy

            Comment


              Originally posted by zeitghost View Post
              Wonderful.

              Do you still need a magic golf ball?

              Or have things progressed?
              http://www.vector.org.uk/archive/v161/phil161.htm

              Comment


                There's lots to OO, but the fundamental point most people who teach it seem to start with is that it allows a developer to think of their solution in terms of objects that interact rather than take the additional step of translating the problem into other elements provided by the programming language in use.

                Interacting objects more closely models the real world.

                Comment


                  Originally posted by shoes View Post
                  There's lots to OO, but the fundamental point most people who teach it seem to start with is that it allows a developer to think of their solution in terms of objects that interact rather than take the additional step of translating the problem into other elements provided by the programming language in use.

                  Interacting objects more closely models the real world.
                  Fist clench agent face find hit.
                  Step outside posh boy

                  Comment


                    Originally posted by Tarquin Farquhar View Post
                    Fist clench agent face find hit.
                    Ah.

                    FORTH.

                    Comment


                      Originally posted by Tarquin Farquhar View Post
                      Fist clench agent face find hit.
                      me.punch(agent.face);

                      Simples

                      Comment

                      Working...