The Eric Normand Podcast

What is an algebra?

7 snips
Aug 12, 2019
Dive into the intriguing world of algebras in functional programming. Discover how APIs can act as algebras, enriching software design with mathematical elegance. The discussion highlights essential traits that elevate expressiveness and fluidity in coding, making complex concepts accessible and engaging.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

What is a Software Design Algebra?

  • An algebra, in software design, is an API that transcends its basic functionality to become expressive and fluent.
  • It's characterized by abstractness and cohesiveness, enabling manipulation like in mathematical algebra.
INSIGHT

Abstraction in Algebraic APIs

  • Algebraic APIs are abstract, using variables instead of specific values, like using 'x' in algebra.
  • This abstraction allows for generalized operations, revealing truths independent of individual values.
INSIGHT

Cohesion in Algebraic APIs

  • Cohesion in an algebra means operations interrelate closely, allowing relationships to be defined using each other.
  • This allows creating identities/equalities showing how operations interact, similar to mathematical algebra.
Get the Snipd Podcast app to discover more snips from this episode
Get the app