Talk:Loop structures: Difference between revisions
Content added Content deleted
(→Iteration: classifying to me is often hard, tonight it is harder...) |
(→Iteration: Classification help) |
||
Line 10: | Line 10: | ||
Examples from this page should be translated to pages in [[:Category:Iteration]]. We don't need duplicates. --[[User:Mwn3d|Mwn3d]] 12:46, 14 April 2008 (MDT) |
Examples from this page should be translated to pages in [[:Category:Iteration]]. We don't need duplicates. --[[User:Mwn3d|Mwn3d]] 12:46, 14 April 2008 (MDT) |
||
:Hard to classify things sometimes... (but maybe it's just too late tonight:D) --[[User:ShinTakezou|ShinTakezou]] 00:54, 17 February 2009 (UTC) |
:Hard to classify things sometimes... (but maybe it's just too late tonight:D) --[[User:ShinTakezou|ShinTakezou]] 00:54, 17 February 2009 (UTC) |
||
::I looked at your edits and I classified some of them like this: |
|||
::*"unconditional loop": [[Loop/Infinite]] |
|||
::*"while loop": [[Loop/While]] |
|||
::*"for-like": [[Loop/For]] |
|||
::*"do-cycle": [[Loop/Continue]] |
|||
::Also, you could probably make "step" negative in the "for-like" loop to use it in the [[Loop/Downward For]] page. --[[User:Mwn3d|Mwn3d]] 19:32, 17 February 2009 (UTC) |
Revision as of 19:32, 17 February 2009
Python:
with foo() as bar: baz(bar)
So where's the loop?
Iteration
Examples from this page should be translated to pages in Category:Iteration. We don't need duplicates. --Mwn3d 12:46, 14 April 2008 (MDT)
- Hard to classify things sometimes... (but maybe it's just too late tonight:D) --ShinTakezou 00:54, 17 February 2009 (UTC)
- I looked at your edits and I classified some of them like this:
- "unconditional loop": Loop/Infinite
- "while loop": Loop/While
- "for-like": Loop/For
- "do-cycle": Loop/Continue
- Also, you could probably make "step" negative in the "for-like" loop to use it in the Loop/Downward For page. --Mwn3d 19:32, 17 February 2009 (UTC)
- I looked at your edits and I classified some of them like this: