Talk:Loop (statement)
Appearance
| This article has not yet been rated on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
| ||||||||||||||
| The content of While loop was merged into Loop (statement) on December 2025. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. For the discussion at that location, see its talk page. |
| The content of For loop was merged into Loop (statement) on December 2025. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. For the discussion at that location, see its talk page. |
| The content of Do while loop was merged into Loop (statement) on December 2025. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. For the discussion at that location, see its talk page. |
| The content of Foreach loop was merged into Loop (statement) on December 2025. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. For the discussion at that location, see its talk page. |
Starting blocks
[edit]I don't think the long lists of examples belong on WP, as per WP:NOTAMANUAL. If this content is removed from the four articles in question, not much is left. So the final article could be quite lean and tidy. I also think this is a good chance to be neutral when it comes to coding style by trying to use pseudocode to describe how the loops look, generally. I had envisioned the initial look of the article be split into:
- Lead (Currently lacking)
- Overview (Currently lacking, maybe this should be History instead?)
- Conditional loops
- While loops
- Do while loops (This should maybe be added to the previous subsection)
- Three body for loops (C-style for loops)
- Enumartions
- For loops (this contains foreach loops)
- The functional paradigm?
- Tail recursion??
And then, of course, whatever else gets added. But this is just what I had in mind.
Pinging those who commented on the merge proposal, just to let you know: @Mfield @Stevebroshar @LogicTrace @FaviFake @Andy_Dingley @~2025-39577-62 @Rfc1394
Feel free to chime in (or not :) — xo Ergur (talk) 23:31, 17 December 2025 (UTC)
- @Ergur This looks great, yes! Feel free to be bold and perform it! I doubt there will be much opposition, and it might remain in the merge backlog for a long time if not done quickly.I'm not technical enough to know about this topic, but I agree the examples are excessive. FaviFake (talk) 15:45, 18 December 2025 (UTC)
- Thanks for carrying it out! FaviFake (talk) 12:27, 23 December 2025 (UTC)
- I assure you, the pleasure has been all mine. — xo Ergur (talk) 15:31, 23 December 2025 (UTC)
