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. The Lounge
  3. Recursive Iteration

Recursive Iteration

Scheduled Pinned Locked Moved The Lounge
questionphpruby
11 Posts 7 Posters 0 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.
  • D Offline
    D Offline
    Danny Martin
    wrote on last edited by
    #1

    Today I'm banging my head against PHP, and came across this little gem... "The RecursiveIteratorIterator recursively iterates over recursive iterators..." Two Queations: 1) Is there a RecursiveIteratorIteratorIterator class that recursively iterates over recursive iterators in recurstive iterators? 2) Could my previous question have been written more succinctly using recursive iteration?

    Sander RosselS L T M M 6 Replies Last reply
    0
    • D Danny Martin

      Today I'm banging my head against PHP, and came across this little gem... "The RecursiveIteratorIterator recursively iterates over recursive iterators..." Two Queations: 1) Is there a RecursiveIteratorIteratorIterator class that recursively iterates over recursive iterators in recurstive iterators? 2) Could my previous question have been written more succinctly using recursive iteration?

      Sander RosselS Offline
      Sander RosselS Offline
      Sander Rossel
      wrote on last edited by
      #2

      For the documentation of the RecursiveIteratorIterator please see the documentation of the RecursiveIteratorIterator[^].

      Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

      D 1 Reply Last reply
      0
      • Sander RosselS Sander Rossel

        For the documentation of the RecursiveIteratorIterator please see the documentation of the RecursiveIteratorIterator[^].

        Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

        D Offline
        D Offline
        Danny Martin
        wrote on last edited by
        #3

        Nice touch... ;)

        1 Reply Last reply
        0
        • D Danny Martin

          Today I'm banging my head against PHP, and came across this little gem... "The RecursiveIteratorIterator recursively iterates over recursive iterators..." Two Queations: 1) Is there a RecursiveIteratorIteratorIterator class that recursively iterates over recursive iterators in recurstive iterators? 2) Could my previous question have been written more succinctly using recursive iteration?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          We've been here before.

          1 Reply Last reply
          0
          • D Danny Martin

            Today I'm banging my head against PHP, and came across this little gem... "The RecursiveIteratorIterator recursively iterates over recursive iterators..." Two Queations: 1) Is there a RecursiveIteratorIteratorIterator class that recursively iterates over recursive iterators in recurstive iterators? 2) Could my previous question have been written more succinctly using recursive iteration?

            T Offline
            T Offline
            theoldfool
            wrote on last edited by
            #5

            Somewhat akin to flying in ever decreasing concentric circles?

            Arguing with a woman is like reading the Software License Agreement. In the end, you ignore everything and click "I agree". Anonymous

            1 Reply Last reply
            0
            • D Danny Martin

              Today I'm banging my head against PHP, and came across this little gem... "The RecursiveIteratorIterator recursively iterates over recursive iterators..." Two Queations: 1) Is there a RecursiveIteratorIteratorIterator class that recursively iterates over recursive iterators in recurstive iterators? 2) Could my previous question have been written more succinctly using recursive iteration?

              M Offline
              M Offline
              Marc Clifton
              wrote on last edited by
              #6

              How much recursive iteration could a recursive iterator iterate if a recursive iterator could iterate recursively? ;) Marc

              Latest Article - Merkle Trees 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 Artificial intelligence is the only remedy for natural stupidity. - CDP1802

              D L 2 Replies Last reply
              0
              • M Marc Clifton

                How much recursive iteration could a recursive iterator iterate if a recursive iterator could iterate recursively? ;) Marc

                Latest Article - Merkle Trees 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 Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                D Offline
                D Offline
                Danny Martin
                wrote on last edited by
                #7

                There's a joke in there somewhere about the size of his stack, but thankfully it escapes me... ;)

                1 Reply Last reply
                0
                • M Marc Clifton

                  How much recursive iteration could a recursive iterator iterate if a recursive iterator could iterate recursively? ;) Marc

                  Latest Article - Merkle Trees 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 Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  Plagarized: How much wood could a woodchuck chuck if a woodchuck could chuck wood :-D

                  M 1 Reply Last reply
                  0
                  • L Lost User

                    Plagarized: How much wood could a woodchuck chuck if a woodchuck could chuck wood :-D

                    M Offline
                    M Offline
                    Marc Clifton
                    wrote on last edited by
                    #9

                    0x01AA wrote:

                    Plagarized:

                    But of course. What do you think was my source of inspiration? ;) Marc

                    Latest Article - Merkle Trees 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 Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                    1 Reply Last reply
                    0
                    • D Danny Martin

                      Today I'm banging my head against PHP, and came across this little gem... "The RecursiveIteratorIterator recursively iterates over recursive iterators..." Two Queations: 1) Is there a RecursiveIteratorIteratorIterator class that recursively iterates over recursive iterators in recurstive iterators? 2) Could my previous question have been written more succinctly using recursive iteration?

                      M Offline
                      M Offline
                      Midi_Mick
                      wrote on last edited by
                      #10

                      My guess would be that it inherits from a RecursiveIterator, so you could then use one RecursiveIteratorIterator to iterate over a second RecursiveIteratorIterator (recursively, of course).

                      Cheers, Mick ------------------------------------------------ A programmer is a person who always checks both ways when crossing a one-way street.

                      1 Reply Last reply
                      0
                      • D Danny Martin

                        Today I'm banging my head against PHP, and came across this little gem... "The RecursiveIteratorIterator recursively iterates over recursive iterators..." Two Queations: 1) Is there a RecursiveIteratorIteratorIterator class that recursively iterates over recursive iterators in recurstive iterators? 2) Could my previous question have been written more succinctly using recursive iteration?

                        T Offline
                        T Offline
                        TNCaver
                        wrote on last edited by
                        #11

                        You lost me at PHP.

                        If you think 'goto' is evil, try writing an Assembly program without JMP.

                        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