Ebook: Beginning Ring Programming: From Novice to Professional
Author: Mansour Ayouni
Gain a gentle introduction to the world of Ring programming with clarity as a first concern using a lot of practical examples. The first part lays the foundations of the language and its basic features (data types, control structures, functions, and classes). The unique way to rigorously structure Ring programs is also explained.
Then, in the second part youll discover Ring inputs, outputs, and what is in between. Youll use the basic constructs of computer logic (sequence, selection, and iteration) to build simple and complex logic flows. Youll go over the common mistakes that lead to code complexity, by example, and cover several strategies to solve them (refactoring, code cleansing, and good variable naming). Then, youll see a visual illustration of how Ring deals with scopes at the local, object, and global levels.
In part three, youll play with two artifacts vital to Ring programming: functions and objects. Youll learn how they can be composed to solve a problem and how advanced programming paradigms, such as declarative and natural, are beautifully implemented on top of them. As part of the discussion, youll also work on game programming. Youll learn how you design your game declaratively, in Ring code, just as if you were designing it in visual software.
Finally, the author lays out how programming can be understood in a gamified context. You will be told the truth about how gaming can be a better metaphor to achieve mastery of Ring programming.
This book is for those who are passionate about writing beautiful, expressive, and learnable code. It has been designed so you can enjoy a beginner-friendly set of knowledge about Ring, and benefit from a one-stop collection of lessons learned from real-world, customer-facing programming projects.
What You Will Learn
- Get started with Ring and master its data types, I/O, functions, and classes
- Carry out structural, object-oriented, functional, declarative, natural, and meta programming in Ring
- Use the full power of Ring to refactor program code and develop clean program architectures
- Quickly design professional-grade video games on top of the Ring game engine
Who This Book Is For
Beginners looking for a consistent and hackable programming environment with a strong flavor of learnability and expressiveness.