📖
A General Introduction to Contextual Programming
  • A General Introduction to Contextual Programming
  • Chapter 1 - Thinking Contextually
    • 1.1 What is a Paradigm?
    • 1.2 What is Contextual Programming?
  • Chapter 2 - Creating Context
    • 2.1 Organizing Data
    • 2.2 Decorators
    • 2.3 Adaptation
  • Chapter 3 - Evaluating with Operations
    • 3.1 Hello World!
    • 3.2 Expanding on 'When'
    • 3.3 Operation Hierarchies
  • Chapter 4 - Reacting with Behaviors
    • 4.1 Revisiting Hello World!
    • 4.2 From 'When' to 'Whenever'
    • 4.3 Working with Buckets
    • 4.4 Expanding Purpose
    • 4.5 Adapting Behaviors
  • Chapter 5 - Abstracting Evaluations
    • 5.1 Compositions
    • 5.2 Operables
  • Chapter 6 - Abstracting Contexts
    • 6.1 Contracts
    • 6.2 Context Identifiers
  • Chapter 7 - Looking to What's Next
    • 7.1 Final Thoughts
    • 7.2 Additional Resources
Powered by GitBook

A General Introduction to Contextual Programming

Next1.1 What is a Paradigm?

Last updated 6 months ago

First Edition - October 2024 By Lucas Stertz

Overview

This book describes the concepts of Contextual Programming, a paradigm for developing software.

Who is this for?

This book is intended to be understandable and educational to both new and experienced programmers. It is expected that more experienced programmers may have a more difficult time understanding the basic concepts of Contextual Programming, while new programmers may struggle more with the advanced concepts. This difference in perception is anticipated due to how the paradigm requires different patterns of thought than most existing paradigms.

If the reader is familiar with another paradigm and is finding it difficult to shift their perspective to this paradigm, or is interested in how some advanced concepts of another paradigm are represented in this paradigm, then it is recommended that they review one of the following books instead:

  • Contextual Programming: An Introduction from Object-Oriented Programming (not yet available)

  • Contextual Programming: An Introduction from Functional Programming (not yet available)

Code Examples

Examples are provided to give a more concrete understanding of the concepts. All code is written in the , however, not all features of that language will be used, and this book is not intended to be used as a learning resource for Rede. There are many features of Rede that simplify development and encourage best practices for more maintainable and scalable development. The reader is advised to explore those features when they feel comfortable with the concepts of Contextual Programming.

Readers are encouraged to experiment with the code examples on their own to further their understanding, but there are no explicit assignments defined by this book.

Notes on Reading this Book

are details for specific text that are mostly relevant to new programmers or provide additional context to what is being described. They will often explain terminology or concepts that are general to programming.

Text in this type of box will provide a bit of useful information, however, it is usually not required to learn the paradigm or to program in Rede. Most often, this information will be relevant to gaining a greater understanding of Rede, or it will be a slight tangent off of the main topic.

Text in this type of box is important for understanding what is currently being presented and for learning how to program in Rede.

Text in this type of box will emphasize a point that is critical to understand the paradigm.

Rede programming language