Guide

Step By Step

First Program

Hello World!

There is an ancient tradition in Programming that dates back millennia (maybe):

New Programmers have to start with a specific program: Hello World.

This first program consist on displaying in the console the sentence "Hello World!"

To keep this ancient tradition, you shall do the same.


Try Executing this program. Then make changes to it so it says "Hello" and your name instead of World.

Congratulations. You are a programmer now!!! πŸŽ‰πŸŽ‰πŸŽ‰

Crowds cheering your name

There is an actual reason for this tradition:

To get familiarity with the grammar of the language.

Programming languages are like real life languages. They influence the way we approach life. They structure thought. They help us understand concepts we haven't experienced.

The grammar of a language allows us to structure those thoughts in a way they make sense to us.

Some words and symbols are build in the language to make sense of it. As an example, the semicolon ; is used to finish an instruction.

Another example is the two dashes --

They are a grammatical symbol to make the rest of the line a comment. Comments are essential to a program, as the code is written for humans. Comments are ignored by the compiler, so you can write anything you want there.

Also, the two dashes will feel familiar to theater performers, as this is the speaking mark. It's the way to document your thoughts and speak with the people who will evaluate, use, and maintain your code. Included future you.

--  Don't be afraid of comments <3