pxt-microbit icon indicating copy to clipboard operation
pxt-microbit copied to clipboard

Can the if block and the while block have a condition block pre inserted in them?

Open HanaZimmermanKarl opened this issue 2 years ago • 3 comments

The if block does not contain a condition block in it. image

And so is the while loop block: image

The most common use of the if and of the while loop blocks have a condition block in them. image

This causes any use of if block or the while block, to take longer, unnecessarily.

I'm asking that any if would have a preinserted preinserted condition block in it, I believe programming would be less tedious. image

This includes the if block in the logic instruction group, and when expanding an if block to: else if

microbit-screenshot (11)

Thanks in advance!

HanaZimmermanKarl avatar May 14 '23 23:05 HanaZimmermanKarl

please reassign to Jac, thank you.


From: HanaZimmermanKarl @.> Sent: Sunday, May 14, 2023 4:31:07 PM To: microsoft/pxt-microbit @.> Cc: Becky Haruyama @.>; Assign @.> Subject: Re: [microsoft/pxt-microbit] Can the if block and the while block have a condition block pre inserted in them? (Issue #5136)

Assigned #5136https://github.com/microsoft/pxt-microbit/issues/5136 to @BeckHaruhttps://github.com/BeckHaru.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/pxt-microbit/issues/5136#event-9240920740, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVKIFZN6COTXWF4WL223RA3XGFTLXANCNFSM6AAAAAAYBOMCIY. You are receiving this because you were assigned.Message ID: @.***>

BeckHaru avatar May 15 '23 04:05 BeckHaru

Hi @BeckHaru, I can not assign anything. It is assigned to you and @unthinkmedia automatically. Maybe you can reassign this to who ever is needed? Thanks!

HanaZimmermanKarl avatar May 15 '23 06:05 HanaZimmermanKarl

We're triaging open issues and have identified this as one that would have huge impact on printed and published educational materials, and teacher training.

We're sympathetic to discussing the change itself but if it were to be made we'd need a good transition period and some user testing around how much it affects the ability of people to follow existing (and therefore out-of-date-after-the-change) resources.

There's a certain advantage to communicating immediately that the thing the if statement needs must be True or False, as well.

jaustin avatar Apr 25 '24 12:04 jaustin