Skip to main content
  • Book
  • © 2020

Beginning Ring Programming

From Novice to Professional

Apress

Authors:

  • The first book on the Ring programming language

  • Written by one of the leading contributors to the Ring project

  • Technically reviewed by the founder and lead of the Ring programming language

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (9 chapters)

  1. Front Matter

    Pages i-xxvi
  2. Getting Started with Ring

    • Mansour Ayouni
    Pages 1-49
  3. Data Types in Ring

    • Mansour Ayouni
    Pages 51-98
  4. Inputs to Ring

    • Mansour Ayouni
    Pages 99-189
  5. Outputs of Ring

    • Mansour Ayouni
    Pages 191-228
  6. Crafting Ring Algorithms

    • Mansour Ayouni
    Pages 229-292
  7. Juggling with Scopes

    • Mansour Ayouni
    Pages 293-335
  8. Functions, Objects, and Beyond

    • Mansour Ayouni
    Pages 337-429
  9. Designing Games in Ring

    • Mansour Ayouni
    Pages 431-522
  10. A Gamified Foundation for Mastering Ring

    • Mansour Ayouni
    Pages 523-617
  11. Back Matter

    Pages 619-662

About this book

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.  

 


Authors and Affiliations

  • Kalidia Consulting, Sousse, Tunisia

    Mansour Ayouni

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.

Bibliographic Information

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access