Pragmatic Objects
CtrlK
  • Pragmatic Objects
  • About this book
  • Design
    • What's an Object ?
    • Thinking Object
    • Domain Modeling
    • Information Management
  • SOLID
  • Practices
    • The Pragmatic Practices
    • No Getters & Setters
    • Inherit Wisely
    • Wrap Null
    • Model the Domain
    • Wrap Collections
    • Expose Snapshots
    • Abandon Composed Names
    • Don't Check Types
    • Minimize Knowledge
    • Immutability
    • Separate Commands & Queries
    • Abandon Statics
    • Declare Dependencies
    • Separate Instantiation from Usage
  • Patterns
    • Always Valid
    • Wrapper
    • Command
    • Procedural Object
    • Compute Object
    • Snapshot
    • Value Object
    • Observability
  • Examples
    • Celsiuses / Fahrenheits
Powered by GitBook
On this page
  1. Patterns

Procedural Object

Object representing a procedure.

Such an object can be :

  • An algorithm, like a sort algorithm, or a car allocator, or a flight finder

  • An application service command handler, handling a request and serving a response

  • An action, such as an HTTP Request

PreviousCommandNextCompute Object

Last updated 1 year ago