i think it might be nice if one could see a more syntax orientated description of the code blocks
ie be able to switch views between the blocks -which would remain the main approach - and a more language orientated code view of some sort
i guess thats happening at some level - the meaning of the blocks gets translated into smalltalk - but i would think showing accurate smalltalk is maybe too heavy?
yet i think it might help kids transition in into other langauges if they could see a language orientated translation of the blocks, when they are ready
i guess you could offer various BASIC (i know smalltalk purists probably hate BASIC), or Java like, or other langauge, translations
(Jens' Chirp version, with the export script to XML option, sort of suggests the code view is possible)
important that this be editable i think - so the blocks and the language code/view would reflect each other
ie a little like the source / design view of web authoring
Alice offers a hybrid code / language view - maybe thats a thought - but i'd suggest a sort of alternate view / way to edit script
for kids ready to move on, it could add some more 'height'
also, after a while, might be a more succint and efficient way to handle scripts -
the blocks would offer a constant learning environment (and safety net) for the language constructs as well
also, option to resize the script window - why constrain the view if its a "visual programming" approach?
Last edited by costellorob (2008-04-12 01:55:51)
Offline
I've thought about this; when we get strings, I can't really imagine a concatenation system that wouldn't involve tons of nested sprites. I think the best way would be to have a text mode, or a block: (text [Hello, ]+[(name)]+[!]+[ ]). When something is put in the entry block at the end, a new blank block appears. This avoids the problem of nesting math blocks, but it would require users to understand order of operations.
Last edited by fullmoon (2008-04-26 16:38:08)
Offline
yes some text view would be better than the nesting of maths blocks in projects like this
http://scratch.mit.edu/projects/BATzerk/47482
(i like the project and concept - but blocks actually make it harder to read than traditional syntax - or at least, it would be nice to be able to switch views and see another way seeing how that nesting can be expressed - if its is still x*x*x etc)
i'm a teacher hoping to use scracth for middle and high school maths - i see this as an issue for its use; would help kids to connect with the expressions if they could see them in couple of different ways like this
Offline