Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Functions, Arrays, and Slices

In this chapter, we’ll learn how to modularize a program in the most basic way. Beyond that, you’ll also learn how to work with multiple values at once — storing them in hard-coded form in your program and viewing some of the values within.