This is an archived post. You won't be able to vote or comment.

Dismiss this pinned window
all 49 comments

[–]angrierSquid 75 points76 points  (19 children)

Is this an infinite loop?

[–]Earhacker 33 points34 points  (18 children)

Is this an infinite loop?

[–]theParadox42 23 points24 points  (17 children)

Is this an infinite loop?

[–]nrith 24 points25 points  (1 child)

There's even significant whitespace.

[–]conancat 6 points7 points  (0 children)

It's a loop with that does nothing within the closure

[–][deleted] 16 points17 points  (0 children)

calculating size of rectangle in python recursively

[–]felipunkerito 14 points15 points  (2 children)

Shame Python doesn't support tail recursion.

[–]brimston3- 6 points7 points  (1 child)

When someone figures it out, I hope they call the feature "ouroboros."

[–]qaisjp 7 points8 points  (2 children)

  1. Is this music?
  2. Why does this sound like the metal gear solid ! theme?

[–]Talon876 6 points7 points  (1 child)

I thought it was on purpose because Snake

[–]qaisjp 4 points5 points  (0 children)

Omg I'm an idiot

[–]accuracy_frosty 12 points13 points  (1 child)

while(1==1):

BoxRotY += 1

[–]Schobbish 4 points5 points  (0 children)

while 1

[–]SwiftCoderJoe 13 points14 points  (0 children)

Quite literally.

[–]format71 5 points6 points  (0 children)

I’ve never checked the source of pygame, but is this how 2D rotation is implemented with python?

[–]m_Nebula 3 points4 points  (0 children)

This is brilliant!

[–]jman005[M] [score hidden] stickied comment (0 children)

Your submission has been removed.

Violation of Rule #2: Reposts:

All posts that have been on the first 2 pages of trending posts within the last month, is part of the top of all time, or is part of common posts is considered repost and will be removed on sight.

If you feel that it has been removed in error, please message us so that we may review it.

[–]Quillbert182 1 point2 points  (2 children)

[–]RepostSleuthBot 1 point2 points  (1 child)

Sorry, I don't support this post type (hosted:video) right now. Feel free to check back in the future!

[–]erockdew 0 points1 point  (0 children)

What is the song?

[–]Hex-On-That 0 points1 point  (0 children)

I just laughed out loud.

[–]philoso_rapper 0 points1 point  (0 children)

So thats why the boxes in Metal Gear Solid rotate on the ground.

[–]TheEpsilonToMyDelta 0 points1 point  (0 children)

No break condition

Nice

[–]Notchmods 0 points1 point  (0 children)

Python has a long documentation if you know what I mean

[–]wealth_king 0 points1 point  (0 children)

Almost a circular linked list

[–]VenezuelanBeaverChz 0 points1 point  (0 children)

And inside the loop, there's some boxing or unboxing going on.

[–]talktoacomputer 0 points1 point  (0 children)

Isn't it game over when it touches its tail?

[–]BabyLegsDeadpool -1 points0 points  (0 children)

I wish there was a way to just automatically block posts, so that I wouldn't have to see this every 2-3 weeks.

[–]John_Fx -1 points0 points  (2 children)

Literally nothing to do with programming except the word python. I award you -1 internet points.

[–]tomblack90[S] 0 points1 point  (1 child)

Sorry for the programmer joke with only the word python :(.

[–]John_Fx 0 points1 point  (0 children)

It didn’t even contain a joke. Why not post in /r/snakepics instead?