From Blocks to Lines : Scratch for Educators

TLDR: Type safety, productivity, intellisense, and debugging.
In continuing with my recent trend of using TypeScript, I wanted to illustrate how to create functions and variables in TypeScript, because this initially threw me into a loop. You can find a more in-depth version of this post, with samples at my blog.
JavaScript and C# are the two languages I use in most of my day-to-day work, so I figured combining the two would be a joy. And it is! There isn't much of a learning curve, as I've found it more to be about switching sides of your brain, because I kept going forward with a JavaScript mentality. I wanted to just instantiate things on-the-fly and use them willy-nilly, but that isn't the case here.
David Catuhe, one of the engineers behind the open source WebGL project, BabylonJS, had a great blog post two years ago about why they made the switch to TypeScript as well.
You can find all of my TypeScript tutorials here.