We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

Debate House Prices


In order to help keep the Forum a useful, safe and friendly place for our users, discussions around non MoneySaving matters are no longer permitted. This includes wider debates about general house prices, the economy and politics. As a result, we have taken the decision to keep this board permanently closed, but it remains viewable for users who may find some useful information in it. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Recursion

Here is the link to my last post:

http://forums.moneysavingexpert.com/showthread.html?p=16589545#post16589545

May the rulers elect better people next time
After the uprising of the 17th June The Secretary of the Writers Union
Had leaflets distributed in the Stalinallee Stating that the people
Had forfeited the confidence of the government And could win it back only
By redoubled efforts. Would it not be easier In that case for the government
To dissolve the people
And elect another?

Comments

  • Really2
    Really2 Posts: 12,397 Forumite
    10,000 Posts Combo Breaker
    Sorry is this about the other day, it is a link to this post.:confused:
  • Cat695
    Cat695 Posts: 3,647 Forumite
    Dude you've put a link up to THIS post!!
    If you find yourself in a fair fight, then you have failed to plan properly


    I've only ever been wrong once! and that was when I thought I was wrong but I was right
  • Idiophreak
    Idiophreak Posts: 12,024 Forumite
    10,000 Posts Combo Breaker
    LMFAO, nice one, Incisor :D
  • Generali
    Generali Posts: 36,411 Forumite
    10,000 Posts Combo Breaker
    I think recursion is a sort of infinite loop whereby (for example) something refers back to itself. A simple example could be to follow the following tasks:

    1. Sing the word 'doe' in middle C.
    2. Return to step 1.

    To follow the instructions accurately, one would sing the word doe in middle C an infinite number of times.

    Another simple example of recursion is this thread which refers back to itself. I suspect this is an example of a computer programmer's sense of humour. I find it gently amusing and certainly clever. I suspect I'm in a minority however.
  • Idiophreak
    Idiophreak Posts: 12,024 Forumite
    10,000 Posts Combo Breaker
    Generali wrote: »
    I think recursion is a sort of infinite loop whereby (for example) something refers back to itself. A simple example could be to follow the following tasks:

    1. Sing the word 'doe' in middle C.
    2. Return to step 1.

    To follow the instructions accurately, one would sing the word doe in middle C an infinite number of times.

    Another simple example of recursion is this thread which refers back to itself. I suspect this is an example of a computer programmer's sense of humour. I find it gently amusing and certainly clever. I suspect I'm in a minority however.

    That's almost an oxymoron, isn't it :D

    Anyway, just for those who my be interested, recursion isn't necessarily infinite - quite often you wish a function to recurse until a set criteria evaluates as true, especially when dealing with trees or generations. It's fair to say, however, that recursion's normally used when code needs to be repeated an *unknown* number of times - and it's that which, in my mind anyway, differentiates the use of recursion from regular iteration.
  • Generali
    Generali Posts: 36,411 Forumite
    10,000 Posts Combo Breaker
    Idiophreak wrote: »
    That's almost an oxymoron, isn't it :D

    Anyway, just for those who my be interested, recursion isn't necessarily infinite - quite often you wish a function to recurse until a set criteria evaluates as true, especially when dealing with trees or generations. It's fair to say, however, that recursion's normally used when code needs to be repeated an *unknown* number of times - and it's that which, in my mind anyway, differentiates the use of recursion from regular iteration.

    Difference duly noted. I will now be forced to try to get this word into conversation at some point this week.

    I guess my example should have been:

    ....2. Repeat step 1 until you get bored
  • Idiophreak
    Idiophreak Posts: 12,024 Forumite
    10,000 Posts Combo Breaker
    Other good examples, by the by, are recursive (or self-referential) acronyms - such as GNU, WINE, PNG and the like...

    I mention this, because it's a good angle to get "recursive" into a conversation...

    "We need a name for our new product!"
    "OK, let's call it PONP - for Ponp: Our New Product"
    "What kinda stupid name is that!?"
    "Well...now that you ask.." --> And you're in!
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 354K Banking & Borrowing
  • 254.3K Reduce Debt & Boost Income
  • 455.3K Spending & Discounts
  • 247K Work, Benefits & Business
  • 603.7K Mortgages, Homes & Bills
  • 178.3K Life & Family
  • 261.2K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.