Software Unscripted cover image

Are Functions Data? with Yehonathan Sharvit

Software Unscripted

CHAPTER

Should We Have Anonymous Structural Types?

In Valerina, the function will work. The function says I need a record with those fields. You can bring them wherever you want. By default, we do structural typing. But if you want, you can opt in to being more restrictive and say, for this function, I only want to accept it has to be just these fields. And I think we should have the right to do so.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner