Discuss Scratch

ScolderCreations
Scratcher
1000+ posts

make the ask bock a reporter

DJUmbreon2 wrote:

the2000 wrote:

I don't like this idea because it creates the idea of a reporter block which can pause the script that it's running in. Reporters are supposed to give instant output, not pause like this block does.
so you’re telling me it defeats the purpose of reporters
That appears to be exactly what they’re saying. The reason the ask block is a stack block is because it pauses the script. The answer block isn’t a stack block because it gives instant output.

Last edited by ScolderCreations (June 30, 2021 16:27:53)

CubaTime384
Scratcher
17 posts

make the ask bock a reporter

I like the stack block for the ask “___” It is simpler for new scratchers and the stack blocks are very efficient,
ask [Should we keep this?] and wait
bunnyCoder16
Scratcher
500+ posts

make the ask bock a reporter

Support
dhuls
Scratcher
1000+ posts

make the ask bock a reporter

bunnyCoder16 wrote:

Support
Please be constructive and say why you support. This is a discussion forum, not a ballot box.
mouse_sausage
Scratcher
500+ posts

make the ask bock a reporter

Obviusly
(answer)
DarthVader4Life
Scratcher
1000+ posts

make the ask bock a reporter

mouse_sausage wrote:

Obviusly
(answer)
I have insufficient context. I don't understand.
patrovich
New Scratcher
61 posts

make the ask bock a reporter

no support…
1: it would confuse new scratchers.
2: reporters are supossed to report things, not modify the behavior of a block.
mybearworld
Scratcher
1000+ posts

make the ask bock a reporter

patrovich wrote:

[View post]
2: reporters are supossed to report things, not modify the behavior of a block.
Why do you think the block would modify the behaviour of a block? It just asks a question, then returns an answer.
Thingied
Scratcher
1000+ posts

make the ask bock a reporter

mybearworld wrote:

patrovich wrote:

[View post]
2: reporters are supossed to report things, not modify the behavior of a block.
Why do you think the block would modify the behaviour of a block?
If you put the suggested block in an input, it will pause the entire script when the block that has that reporter in isn't supposed to do that.
mybearworld
Scratcher
1000+ posts

make the ask bock a reporter

Thingied wrote:

[View post]

mybearworld wrote:

patrovich wrote:

[View post]
2: reporters are supossed to report things, not modify the behavior of a block.
Why do you think the block would modify the behaviour of a block?
If you put the suggested block in an input, it will pause the entire script when the block that has that reporter in isn't supposed to do that.
Why is that an issue?
Thingied
Scratcher
1000+ posts

make the ask bock a reporter

mybearworld wrote:

Thingied wrote:

[View post]

mybearworld wrote:

patrovich wrote:

[View post]
2: reporters are supossed to report things, not modify the behavior of a block.
Why do you think the block would modify the behaviour of a block?
If you put the suggested block in an input, it will pause the entire script when the block that has that reporter in isn't supposed to do that.
Why is that an issue?
Having everything that can pause a script as a stack block makes a lot more sense. Every single ()wait block isn't a reporter so why should the ask block be? Sure, it does report information but the answer block solves that. I know other programming languages don't work like this but the point is that it's a lot easier to learn if every single type of block is limited to a certain amount of things.

Last edited by Thingied (July 18, 2021 02:56:17)

Reev0102
Scratcher
1000+ posts

make the ask bock a reporter

Support. This is in other programming languages:
var foo = prompt("question");
foo = input("question")
And would reduce the number of blocks:

instead of

I don't see why this shouldn't be added.
SuperMarioHome
Scratcher
100+ posts

make the ask bock a reporter

No. We don't need a reporter ‘ask () and wait’ block because some projects need it as a stack block.

For example:
when green flag clicked
forever
ask [] and wait
add (answer) to [list v]
end

This would need it as a stack block as it's adding the answer to the list.
samq64
Scratcher
1000+ posts

make the ask bock a reporter

SuperMarioHome wrote:

No. We don't need a reporter ‘ask () and wait’ block because some projects need it as a stack block.

For example:
when green flag clicked
forever
ask [] and wait
add (answer) to [list v]
end

This would need it as a stack block as it's adding the answer to the list.
when green flag clicked
forever
add (ask [] and wait) to [list v]
end
mybearworld
Scratcher
1000+ posts

make the ask bock a reporter

SuperMarioHome wrote:

[View post]
No. We don't need a reporter ‘ask () and wait’ block because some projects need it as a stack block.

For example:
when green flag clicked
forever
ask [] and wait
add (answer) to [list v]
end

This would need it as a stack block as it's adding the answer to the list.
As talked about here before, a program would change these in existing projects:
when gf clicked
forever
set [answer v] to (ask [] and wait)
add (answer::variables) to [list v]
end
After this has been implemented, you can do:

samq64 wrote:

[View post]
when green flag clicked
forever
add (ask [] and wait) to [list v]
end

Last edited by mybearworld (July 18, 2021 14:48:22)

ScolderCreations
Scratcher
1000+ posts

make the ask bock a reporter

This idea completely breaks the tradition of reporter blocks
therealkakallika
Scratcher
100+ posts

make the ask bock a reporter

make the ask bock a reporter?
sure
(ask[]and wait)
therealkakallika
Scratcher
100+ posts

make the ask bock a reporter

(removed by moderator - please keep it polite)
(answer)

Last edited by cosmosaura (April 22, 2023 14:40:37)

carteradams123
Scratcher
49 posts

make the ask bock a reporter

No support, scratch already makes you create a lot of unnecessary variables for things that really shouldn't need them, let's not add to the clutter.
Knightbot63
Scratcher
1000+ posts

make the ask bock a reporter

Literally, what the answer block is there for. No support. And also, I've never seen a boolean that acts like a block.

Powered by DjangoBB