GLang Guidebook (Preview)
This guide book is in preview mode. Some content may be missing or unimplemented yet.
This guide book is in preview mode. Some content may be missing or unimplemented yet.
This book serves as a way to learn GLang through actual use. We start from scratch and learn how GLang works, then in the final chapter, we build a personalized terminal command!
GLang is ideal for really anyone, but as a beginner programmer, it can be a great starting point. It gets you familiar with concepts found in many other languages and teaches you the all-mighty terminal.
In general, this book assumes that you’re reading it in sequence from front to back. Later chapters build on concepts in earlier chapters, and earlier chapters might not delve into details on a particular topic but will revisit the topic in a later chapter.
You’ll find two kinds of chapters in this book: learning chapters and project chapters. In learning chapters, you’ll learn about a feature in GLang. In project chapters, we’ll build small programs together, applying what you’ve learned so far.
Chapter 1 explains the basics of the language, how to install, and how to write a "Hello, world!" program.
Chapter 2 extends on the "Hello, world!" program by creating the Print Bio project.
Chapter 3 explains functions and touches a bit on built in functions.
Chapter 4 extends on functions with A Very Functional Program project.
Chapter 5 explains loops and recursion.
Chapter 6 extends on loops with the EchoMe project.
Chapter 7 explains the list type and operations.
Chapter 8 extends on the list type with the Iterate And Display project.
Chapter 9 builds a terminal based calculator called the Kalculator project.
Chapter 10 builds a full-fledged, terminal based command with various tools.