
Beginning Ring Programming
From Novice to Professional
Mansour Ayouni(Author)
APress
Published on 31. May 2020
Book
Paperback/Softback
XXVI, 662 pages
978-1-4842-5832-3 (ISBN)
Description
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 aproblem 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 LearnGet started with Ring and master its data types, I/O, functions, and classesCarry out structural, object-oriented, functional, declarative, natural, and meta programming in RingUse the full power of Ring to refactor program code and develop clean program architecturesQuickly 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.
More details
Edition
First Edition
Language
English
Place of publication
Berkeley
United States
Target group
Professional and scholarly
Product notice
Paperback (trade)
Unsewn / adhesive bound
Illustrations
329 s/w Abbildungen
XXVI, 662 p. 329 illus.
Dimensions
Height: 254 mm
Width: 178 mm
Thickness: 37 mm
Weight
1272 gr
ISBN-13
978-1-4842-5832-3 (9781484258323)
DOI
10.1007/978-1-4842-5833-0
Schweitzer Classification
Other editions
Additional editions

E-Book
05/2020
APress
€66.99
Available for download
Person
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.
Content
Chapter 1: Getting Started with Ring.- Chapter 2: Data Types in Ring.- Chapter 3: Ins of Ring.- Chapter 4: Outs of Ring.- Chapter 5: Ring Algorithms.- Chapter 6: Juggling with Scopes.- Chapter 7: Functions, Objects and Beyond.- Chapter 8: Designing Games in Ring.- Chapter 9: A Gamified Foundation for Mastering Ring.- Appendix A: A Dialogue with Mahmoud Fayed.