Jump to content

Talk:Loop (statement)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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)[reply]

@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)[reply]
Thanks for carrying it out! FaviFake (talk) 12:27, 23 December 2025 (UTC)[reply]
I assure you, the pleasure has been all mine. — xo Ergur (talk) 15:31, 23 December 2025 (UTC)[reply]