Discuss Scratch

Ihatr
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

Some Scratchers may be aware that there is a block that looks like this
(letter () of [])
This block reports the first letter of the item in the second box.

However, it also works with numbers

and other characters.


Why not change it to
character () of [] :: operators :: reporter
as it shows that this block is not solely restricted to letters.

Last edited by Ihatr (Dec. 1, 2020 02:25:06)

DancingNekoGirl
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

This may be a good addition in terms of clarity; it does get confusing. Just asking, are there any problems with how it is now in terms of functionality?
Vaibhs11
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

support… ?
Ihatr
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

bump
Just_ng
Scratcher
500+ posts

Change (letter () of ()) to (character () of ())

support, this will make things less confusing, as the first time I used that block I thought it is only restricted to letters
MrFluffyPenguins
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

Support, numbers and symbols aren't letters.
Ihatr
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

bump
Ihatr
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

bump
enochx
Scratcher
500+ posts

Change (letter () of ()) to (character () of ())

%10000000000000000000000000000000000000000000000000000000000000000000000000000000000 support!.
NanoPIex
Scratcher
500+ posts

Change (letter () of ()) to (character () of ())

Vaibhs11 wrote:

support… ?

enochx wrote:

%10000000000000000000000000000000000000000000000000000000000000000000000000000000000 support!.
be constructive
Ihatr
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

bump
Ihatr
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

Bump
portalpower
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

Ihatr wrote:

Bump
quit necrobumping support because we don't want the numbers and special characters to feel discriminated against
gosoccerboy5
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

stupid post I made

Last edited by gosoccerboy5 (Jan. 8, 2021 19:50:51)

Ihatr
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

gosoccerboy5 wrote:

Semi support. I see how this would improve clarity and stuff, but it doesn't seem like it would, well, revolutionize Scratch.
A feature doesn't need to be a revolution, it should be changed for the sake of clarification.
gosoccerboy5
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

Ihatr wrote:

gosoccerboy5 wrote:

Semi support. I see how this would improve clarity and stuff, but it doesn't seem like it would, well, revolutionize Scratch.
A feature doesn't need to be a revolution, it should be changed for the sake of clarification.
Very true. Support in that case.
fdreerf
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

I think the developers had clear intentions on why they named the block that way. “Character” is a term most children are unfamiliar with except with the element in storytelling*. While numbers and symbols aren't letters, it's already clear what the block does to most: it returns the nth letter of a word or string, even if there is some ambiguity on whether it works with numbers or symbols, which a simple test of the block clears.

A simple test might not immediately show what the block does to those unfamiliar with the word character. If you don't know what character means, there is no simple intuition on what the block does. Everyone knows that words are comprised of letters, and anyone who has spelled a word knows letters can be and have to be ordered sequentially.

*And no, I don't think anyone will confuse “letter” for a personal piece of mail sent to someone!

Last edited by fdreerf (Dec. 21, 2020 02:52:59)

portalpower
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

fdreerf wrote:

I think the developers had clear intentions on why they named the block that way. “Character” is a term most children are unfamiliar with except with the element in storytelling. While numbers and symbols aren't letters, it's already clear what the block does to most: it returns the nth letter of a word or string, even if there is some ambiguity on whether it works with numbers or symbols, which a simple test of the block clears.

A simple test might not immediately show what the block does to those unfamiliar with the word character. If you don't know what character means, there is no simple intuition on what the block does.
but letter makes me say ewwwwww
fdreerf
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

portalpower wrote:

but letter makes me say ewwwwww
Ah, crud, you're right. Everything I have said is now null and void due to this argument. I admit defeat and concede now; you have won!

Last edited by fdreerf (Dec. 21, 2020 02:55:01)

portalpower
Scratcher
1000+ posts

Change (letter () of ()) to (character () of ())

fdreerf wrote:

portalpower wrote:

but letter makes me say ewwwwww
Ah, crud, you're right. Everything I have said is now null and void due to this argument. I admit defeat and concede now; you have won!
why did I just die laughing from that[/offtopic]

Powered by DjangoBB