I'm building a project that consists of a web port of LogoWR (Tutle Graphics), but I want to make some changes to the syntax, such as the way variables are named.
Original:
:variable
New:
#number_variable
$text_variable
:indistinct (Can be number or text or other)
The objective is to train children (about 10 to 14 years old) to use variables. It should also teach them type casting (and about using different variable types), but with a "physical view" - always doing the casting explicitly. I want something like $text = text(#number)
, so that the user can view the type of a variable without seeing its declaration.
The question is, in your opinion, is it too hard for the children to follow these rules?