Continuing the discussion from Tau Suggestions:
I’m interested to know in what contexts, and how, folks use Sonic Pi’s loop function - would love to get feedback or hear people’s thoughts.
@cazarim re your comment in the other topic about it being “one of the first things we learn at Sonic Pi to structure repetition”: from thinking about it, what strikes me about the loop function is its necessity to be wrapped in a thread to be useful in all but the most trivial Sonic Pi scripts. This is certainly not wrong - but to my mind, it adds a layer of potentially unnecessary cognitive load to the newcomer.
One could make the case for example that rather than focussing on a ‘standard’ loop first in tutorials or documentation, it’s more useful to introduce the more Sonic Pi idiomatic ‘live_loop’ first, and then only mention the ‘standard’ loop as a tangential topic for the curious - that way, it doesn’t require potentially unlearning the slightly more complex ‘thread plus loop’
Cazarim (and others) - do you think if live_loop is framed correctly, the above would work?