Discuss Scratch

1492864
Scratcher
500+ posts

Rename (length of list) to (number of items in list)

I am suggesting to rename
 (length of [ v] :: list) 
to
(number of items in [ v] :: list)

because
(length of [list v]::list)
can be confused with
(length of (list ::list))
and they are not the same thing.

Explanation:
https://scratch.mit.edu/discuss/topic/495187/?page=1#post-5009494

Last edited by 1492864 (March 18, 2021 13:40:50)


Scratcheth f'rum us'r | 1 year on Scratcheth | 750+ posts| Inching to 1000 posts, 1 posteth at a timeth
Mine own most did view projecteth | Mine own most did love and fav'd projecteth | Latest projecteth |

Highlight h're and shift+down to readeth the rest.
The most did suggest suggestion:
Dark mode
Joaovtor
Scratcher
49 posts

Rename (length of list) to (number of items in list)

i agree, sometimes i mess them up, very rarely.


but other people may find this confusing as well so even though it's not a problem to me it could be for other people

Support

That' Joaovtor,
Ever wanted to make a multi-player game over cloud?? here's an easy to follow toolkit!
Here's a complicated project i made
change [ Complicated projects] by (1)
realize [They're too complicated] for (2) secs
create another project
delete this project
There variable/list blocks should be like
set ( v) to []
instead of
set [ v] to []
fdreerf
Scratcher
1000+ posts

Rename (length of list) to (number of items in list)

Every list has a label stating its length on the monitor on the stage, so I'm fairly certain pretty much everyone will figure out that the length of list block reports that attribute.

Hyped for MS-DOS 11.0
the2000
Scratcher
1000+ posts

Rename (length of list) to (number of items in list)

Green and red are literally on the opposite sides of the color spectrum. The only potential use I could see for this is removing some confusion, but we still have two blocks called “() of ()”. Do you want those renamed as well?

1492864
Scratcher
500+ posts

Rename (length of list) to (number of items in list)

the2000 wrote:

Green and red are literally on the opposite sides of the color spectrum. The only potential use I could see for this is removing some confusion, but we still have two blocks called “() of ()”. Do you want those renamed as well?

Rename these?
([sin v] of ())
([ v] of ( v))
Yes to remove confusion.

nvmd.

Last edited by 1492864 (March 18, 2021 16:25:44)


Scratcheth f'rum us'r | 1 year on Scratcheth | 750+ posts| Inching to 1000 posts, 1 posteth at a timeth
Mine own most did view projecteth | Mine own most did love and fav'd projecteth | Latest projecteth |

Highlight h're and shift+down to readeth the rest.
The most did suggest suggestion:
Dark mode
fdreerf
Scratcher
1000+ posts

Rename (length of list) to (number of items in list)

1492864 wrote:

Yes to remove confusion.
I don't know any confusion that exists between those two blocks, but what would you rename those blocks to?

Hyped for MS-DOS 11.0
1492864
Scratcher
500+ posts

Rename (length of list) to (number of items in list)

fdreerf wrote:

1492864 wrote:

Yes to remove confusion.
I don't know any confusion that exists between those two blocks, but what would you rename those blocks to?

Nevermind. I don't want to rename them.

Scratcheth f'rum us'r | 1 year on Scratcheth | 750+ posts| Inching to 1000 posts, 1 posteth at a timeth
Mine own most did view projecteth | Mine own most did love and fav'd projecteth | Latest projecteth |

Highlight h're and shift+down to readeth the rest.
The most did suggest suggestion:
Dark mode

Powered by DjangoBB