Open halatmit opened 4 years ago
@halatmit Is your vision of this a built-in block similar to what Scratch does, or something more akin to Clock's Timer just with 0 timeout? How does this differ from while(true) do ...
?
while (true) would be OK except for ANRs and the need for users to somehow abort the program. and the alternative syntax Repeat Forever.
==Hal
On Wed, Nov 6, 2019 at 3:10 PM Evan W. Patton notifications@github.com wrote:
@halatmit https://github.com/halatmit Is your vision of this a built-in block similar to what Scratch does, or something more akin to Clock's Timer just with 0 timeout? How does this differ from while(true) do ...?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mit-cml/appinventor-sources/issues/1883?email_source=notifications&email_token=AAGAXN2BNJ7YCXP3JQUYVETQSMQDFA5CNFSM4JBFIC22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDH2TWA#issuecomment-550480344, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGAXN4MRVTWGAZ4EJKBV7DQSMQDFANCNFSM4JBFIC2Q .
@halatmit I'm concerned that this basically requires a CPS solution if we turn it into a block that can be used anywhere in the code. We might be able to put some constraints on it, such as only allowing it at the top level of an event handler, but we'll need to think about what the right constraints are so that it doesn't become intractable without a complete rewrite of the code generator.
Describe the desired feature
Give an example of how this feature would be used
Why doesn't the current App Inventor system address this use case?
Why is this feature beneficial to App Inventor's educational mission?