Object-Functional Paradigm

Term

Object-Functional Paradigm

Aliases

-

Definition

The Object-Functional Paradigm is a design paradigm combining structures based on Object Identity, Responsibility, State, and Collaboration with rigorous computational expression through types, values, functions, and composition.

SimpleModeling

SimpleModeling does not treat Objects and functions as competing alternatives. The Object Model structures meaning, boundaries, Responsibilities, and Collaboration, while Types and functions formalize values, transformations, results, effects, and composability. CML describes this Model, and Cozy maps it to Object-Functional structures in Scala.

simplemodeling-lib

simplemodeling-lib combines semantic values, Value Domains, type-driven normalization, explicit results through Consequence , applicative style, and type-class-like contracts. Its rules represent a conceptual trunk in a Domain Model with an abstract class and supplementary composable behavior with a trait , connecting object-side meaning with functional composition while keeping their responsibilities distinct.

  • Object

  • Type

  • Responsibility

  • Collaboration

  • Type Class