Talk:Loops/N plus one half: Difference between revisions

Line 8:
 
A more correct name might be '''"Loop/n minus one half"''', but even better might be '''"Looping with a different action on the last iteration"''' - its not as twee, but more accurate? --[[User:Paddy3118|Paddy3118]] 06:10, 5 November 2009 (UTC)
 
: Actually it turns out I mis-remembered the name of the loop pattern. The correct name seems to be: "Loop and a half".
: "Looping with a different action on the last iteration" would be wrong (and actually pointless, because then the natural thing to do would be to just do the different thing after the loop). After all, the action to do is the same as the action on previous loops, except that on the last iteration not ''all'' of the loop body is executed. --[[User:Ce|Ce]] 17:25, 5 November 2009 (UTC)
973

edits