2min chapter

Changelog Master Feed cover image

The principles of data-oriented programming (Changelog Interviews #522)

Changelog Master Feed

CHAPTER

The Importance of Reflection in Programming

If you write a program and you rely too much on reflection, you will be rejected by a code reviewer. If you use structs and access field with reflections, it's the same as using maps. You cannot create a priori data types for every possible combination. In object-oriented programming, what you need to do is to create another struct or if you do static typing,. While if it's used to map, you can, in a map,You can rename fields. It's just two-line functions to rename a field in a map.

00:00

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