We've been working on plugging the cognitive holes in our intro tutorial to programming, and realized we were missing a lesson on variable expressions. So far, we'd only been saving single values into variables, but as you know, it's quite powerful when you can save expressions too.
To demonstrate that, I put together a talk-through about a penguin that starts off with all hard-coded values for its body parts, and thanks to the power of expressions, ends up with values dependent on other values. That makes it easy for us to resize the penguin just by changing one variable - and we're all about scalable penguins in these parts.
No comments:
Post a Comment