I've found the hardest thing for beginner programmers is being in a state where they can actually run their code. That's why I think NodeJS and Javascript are so awesome. The code just runs, better yet, Javascript (perhaps not NodeJS) can run in the browser (there's the developer console, even JSFiddle)!