Beginning Ring Programming: From Novice to Professional

  • 8h 14m
  • Mansour Ayouni
  • Apress
  • 2020

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 you’ll discover Ring inputs, outputs, and what is in between. You’ll use the basic constructs of computer logic (sequence, selection, and iteration) to build simple and complex logic flows. You’ll 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, you’ll see a visual illustration of how Ring deals with scopes at the local, object, and global levels.

In part three, you’ll play with two artifacts vital to Ring programming: functions and objects. You’ll 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, you’ll also work on game programming. You’ll 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.

About the Author

Mansour Ayouni is one of the leading contributors to the new Ring programming language. He wrote his first BASIC computer statement, in the mid-80s, using only pen and paper, when he was 10 years old. It wasn’t in a California garage though nor under the lights of the prestigious Evil tour of Paris, but in the rural village of Regueb in the center of Tunisia (North Africa) where there was no electricity nor computers at all. Over the years, programming took him in an otherwise impossible international journey. From Tunisia, to Niger, to Canada, he contributed to the development of dozens of software products ranging from lawyer office management solutions to banking and nuclear waste management systems. During his career, he used to oversee programmers from three cultures and lead software teams in various companies such as Whitecape, Keyrus, and Webgenetics. Now, he is a member of the Ring core team and running Kalidia Consulting helping businesses make effective software.

In this Book

  • Getting Started with Ring
  • Data Types in Ring
  • Inputs to Ring
  • Outputs of Ring
  • Crafting Ring Algorithms
  • Juggling with Scopes
  • Functions, Objects, and Beyond
  • Designing Games in Ring
  • A Gamified Foundation for Mastering Ring

YOU MIGHT ALSO LIKE

Rating 4.5 of 201 users Rating 4.5 of 201 users (201)
Rating 4.8 of 59 users Rating 4.8 of 59 users (59)
Rating 4.6 of 112 users Rating 4.6 of 112 users (112)