239 points · by pavel_lishin · 9y ago · 66 comments
Nice - https://developers.google.com/blockly/ no real fan of google, but the tools and code churned out by individuals there is pretty interesting. This I will play with.
You are right.
It looks horrible and cluttered and could be made better. Though visuals and design aside, the idea is sound. There is a real barrier b/w textual/visual in software. You don't see this in other physical disciplines like EE.
It would be interesting to have a better (easier to read, standardised etc.) version of these flow charts. Not impossible and possibly easier to trace, explain and see alternatives/improvements in design.
From the about page: One of the limitations of Scratch as a language for computer science education is that its lists are not first class, so you can’t have a list of lists. Making lists first class is enough of an extension to Scratch to allow the creation of any other data structures (trees, heaps, hash tables, dictionaries, and so on) in user-defined Snap! code, implemented as lists of lists. via https://snap.berkeley.edu/about.html
Take even the smallest snippet:
while (Count <= 3) {
To you or me, this is pretty obvious. I've had kids ask me questions I'd never have thought of because I know this stuff already:
* What do the parentheses mean? * What is Count, is it a Javascript thing? * Is Count being set to 3? (<= looks like an arrow, not necessarily less than or equal to) * What is that squiggle? (meaning the '{') * Is this a program?
I'm with you, the Blockly stuff is hardly legible to me. But to kids learning this for the first time, I can tell you from first hand experience the color/shape/block aspect makes a huge difference.
A simple for-loop can be complicated.
First, they need to understand that a for-loop instantiates a variable (i). Then they need to understand that the next step is a limit: i < something. And then they need to understand that i++ means increment i every time that the below code is run.
Nevermind that it makes more sense to go: i = 0, i = I + 1, i < something, that's how it works.
Of course if they don't get that, they may not be cut out for programming. But its far from intuitive.
"""The CS teacher was excited and promised to teach Blockly the next day. But there was another issue compromising the class. Due to a lack of funds, the school could not afford two CS teachers, so half the school was unable to take CS. I asked what a teacher's salary was. $100 per month. So I went to an ATM and bought them a second teacher for the next year."""
Sad and awesome at the same time.
My first real paying gig was for a local Pennsylvania company who distributed pBasic boards and merkur sets. They used an open source Perl IDE that allowed 3-5 graders to program the bot visually.
I didn't know Perl and was still in high school, but was able to make some great contributions (to the company version). Taught me how to manage very small amounts of memory. I owe the original author a thanks for making such a solidly coded tool.
The tool may have come from parallax software.
I think he's the most responsive maintainer I've ever come across!
Google will keep anyone talented that's 'producing stuff', they have massive surpluses of cash.
I think a lot of people would love to work at Google for a long time so long as they fit in the culture. Who wouldn't want to work on fun stuff that the word is using?
And a high, stable income is the next most valuable thing after stock options in a high flying company :)
What are the alternatives? A startup wherein you will likely lose your job? Oracle? Cisco? Probably not nearly as interesting.
Alt career choice? Might cut their salary in half ...
Maybe a different way to frame it: why would they leave?
I wouldn't even like to work at Google, but I have no trouble understanding why people would park there for a long while :)
Kudos to them for providing a place for so many talented folks to create cool things.
It's awesome that Neil did something he's proud of and shared it on his personal blog. Good for him.
I wonder if anyone has a favourite article that reflects on how they and Google changed over the ten years that they were there?
(whichever question makes more sense)
50.0.2 on Ubuntu 16.04.