Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
Finally, the course compares how code is written in several different languages, the libraries and frameworks that have grown around them, and the reasons to choose each one.
It is one ++ operator, the increment operator, the ability to add one to a variable. So you can't put a space in the middle of that, same with a --, same with operators like += or -=. You can't put a space in the middle of this just the same way you can't put the space in the middle of var or alert or prompt or a variable name. Now the second place whitespace matters is inside a string. There's a difference between what, space, is, space, your, space, name, and adding a few more spaces to it and that's because we want spaces to matter inside a string.
I type in Simon, I click OK, and we get the rather ugly looking message HelloSimon. Well, that's simply because I'm concatenating or combining two strings together here. I've created a variable called message that says Hello and then I'm adding the word Hello and whatever name was typed in and popping that up as an alert box. But really what I want is Hello, space, and then the name. So this would be another reason we would want this space regarded as significant.
There are currently no FAQs about Foundations of Programming: Fundamentals.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.