Lably
Skip to content

Data-driven programming

  • 4 min read
  • 4 chapters

Related on Lably

Through Computer programming, Stream (computing) and Object-oriented programming

Data-driven programming is similar to event-driven programming, in that both are structured as pattern matching and resulting processing, and are usually implemented by a main loop, though they are typically applied to different domains. The condition/action model is also similar to aspect-oriented programming, where when a join point (condition) is reached, a pointcut (action) is executed. A similar paradigm is used in some tracing frameworks such as DTrace, where one lists probes (instrumentation points) and associated actions, which execute when the condition is satisfied.

Adapting abstract data type design methods to object-oriented programming results in a data-driven design. This type of design is sometimes used in object-oriented programming to define classes during the conception of a piece of software.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication