Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
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.
As soon as we leave that line, the rest of our code will be processed as normal. You can actually use those two forward slashes and even put them after an existing line, but it is more common to put them before the code that they are meant to be applying to. So if I was trying to split up some of my code here, I might say that this section was my Boolean variables and this previous one was my numeric variables. Obviously, these are pretty sel explanatory here.
It's quite common that you will also see a blank line before the comment because it just makes it much more visible. Now what you can also do are create what are called multi-line comments. While we could use multiple lines just with two forward slashes on it, what we can also do is use a /* and now everything is a comment until we get to */.
I only tend to use the multiple line format to comment out large chunks of code when I'm testing. Everywhere else I tend to use the single-line format just with the two forward slashes and that's what I'll be using for most of this course.
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.