List blocks syntax

Request a new command, feature, or improvement

Moderator: MSandro

Post Reply
SimpleSi
Posts: 330
Joined: Jul 2nd, '17, 13:47

List blocks syntax

Post by SimpleSi » Jul 9th, '17, 15:25

My recent experience of lists is using Python so this is influencing my thoughts here but....

Is it necessary to mix up the words data and list
e.g cannot count data not be count list?
or am I missing some CS approach with this?

The [] at 1 block doesn't leap out as being the main reporter for a list item

It would benefit from having the data/list hint in it and not being empty
Also could do with maybe black arrow for 2nd parameter so it could return a sublist?
Or if not, then add explict sublist block?
I'm actually don't like the syntax of using "at" but I've not come up with anything better yet so I won't mention that one :)

SimpleSi
Posts: 330
Joined: Jul 2nd, '17, 13:47

Re: List blocks syntax

Post by SimpleSi » Jul 9th, '17, 15:26

Got it!

syntax should (IMHO of course :) (list) item i not (list) at i

:)

Post Reply