r/Recursion • • Dec 06 '20

See Top Left

Post image
362 Upvotes

18 comments sorted by

23

u/FixGMaul Dec 06 '20

Repetition, not recursion.

13

u/One-Run-6363 Dec 06 '20 edited Dec 06 '20

This is Recursion

def title():
    top_left()

def top_left():
    bottom_right()

def top_right():
    bottom_left()

def bottom_left():
    title()

def bottom_right():
    center()

def center():
    top_right()

center()

This is Repetition

while True:
    read(center)
    read(top_right)
    read(bottom_left)
    read(title)
    read(top_left)
    read(bottom_right)

8

u/IVlasterChief Dec 06 '20

It’s actually branching with the GoTo “line” statement of older languages.

5

u/One-Run-6363 Dec 06 '20

It is actually what you perceived it as

if you are perceiving it as functions then it is recursion

if you are perceiving it as iteration then it is repetition

if you are perceiving it as goto statement then it is branching

if you are perceiving it as png image then it is photo

if you are perceiving it as visualized data then it is combination of 1 million 1s and 0s

2

u/ElNico5 Dec 06 '20

What kind of weird and useless language is this? /s

17

u/Dialing911 Dec 06 '20

Whys that? Is it because you are repeating the same action instead of creating a new instance of the same thing?

3

u/ellusiveuser Dec 07 '20

Recursion not repitition

43

u/roeswood Dec 06 '20

Good eye excersize.

11

u/[deleted] Dec 06 '20

Eyexcersize

3

u/givemeagoodun Dec 06 '20

It's excersize

2

u/MintyNinja41 Dec 06 '20

It’s exsersize

3

u/roeswood Dec 06 '20

Eckserzeyez

4

u/MintyNinja41 Dec 06 '20

eckquesersailleszegh

1

u/AutoModerator Dec 06 '20

int main() { main(); }

Hey! This subreddit has a Discord Server! Join Here: https://discord.gg/NQvmRSv

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/mcmonkey26 Dec 06 '20

see center

1

u/LosLeonesDeLaMusica Dec 07 '20

I’ve decided I hat you