Hello world!
Goal: Make a binary that prints hello world and get familiar with language servers and error messages
Intro
Being a coder is more then looking around in an HTML file. We want to use a programming language. You can read the programming language chapter about which language fits best.
We have an editor, we have a language that we want to use. Now let's bring those two together.
The mission
- Install the toolchain that you need for your language.
- Install a language server if it doesn't come with your editor already.
- Make an hello world project. Try to print hello world in the console or a hello world app.
- Change hello world into hello {your name}.
- Make a syntax error. Can you read the error? Can you use your language server to find the error?
- Expend your program so you have more then 1 function and more then 1 file.
Can you navigate the files with shortcuts from your editor? Can you use a
go to definition
orGo to references
to find the function you're looking for?
Good luck!