google / google/codeworld

Constructor default name is confusing for blocks

Open
#294 0 comments 0 reactions 0 assignees View on GitHub
enhancement funblocks
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

When creating a constructor, the default name is `Constructor`. After adding this once, you end up with what initially looks like TWO blocks called `Constructor` in the toolbox: one to define a new constructor, and one for the constructor you've just defined.

One solution might be to leave the name as "Constructor" in the toolbox, but automatically rename even the first one to add a number (Constructor1) when it's placed in the workspace.

This is minor.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.