The Changelog: Software Development, Open Source cover image

The Changelog: Software Development, Open Source

The principles of data-oriented programming (Interview)

Jan 14, 2023
56:41

Podcast summary created with Snipd AI

Quick takeaways

  • Data-oriented programming emphasizes treating data as a first-class citizen by separating code from data and using generic data structures.
  • Adopting data-oriented programming streamlines business logic automation, data manipulation, and unit testing, but faces challenges in tooling and schema documentation.

Deep dives

Principle of Data-Oriented Programming

Data-oriented programming emphasizes treating data as a first-class citizen in applications and is characterized by four main principles. The first principle involves separating code from data to reduce complexity and improve code reuse. The second principle focuses on representing data with generic data structures such as hash maps and lists instead of specific structures. The third principle advocates for treating data as immutable to prevent complexities arising from mutations and provide structural sharing benefits. The fourth principle underlines the importance of separating data schema from data representation to allow runtime data validation and flexible data manipulation.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode