Thursday Oct 3
16:30 –
17:15
Room 2
Easier encapsulation with static types
Human short-term memory is notoriously limited, which makes it difficult for us to keep much code in our heads at a time. A common solution to this problem is encapsulation, which alleviates the problem by shielding you from having to know intimate implementation details of code that you use.
But how do you communicate the essentials of an API to a client programmer? May this method return null? Can I call it with an empty collection? Would a negative number be an appropriate argument?
Static types offer a solution to many such API design problems. Through the use of metaphor and a few code snippets, I'll make the argument that static types make encapsulation easier to attain.
Keynotes
-
X Marks the Spot: Navigating Possible FuturesSimon WardleyWednesday Oct 2, 13:10
-
Using Generative AI to Strengthen and Speed LearningBarbara OakleyWednesday Oct 2, 09:10
-
Team Topologies for Modern Software DevelopmentManuel PaisWednesday Oct 2, 17:30
-
To the MoonRuss OlsenWednesday Oct 2, 20:00
-
Things They Don't Tell You About Being a Tech LeaderMichael NygardThursday Oct 3, 09:10
-
The Magic of Small Things - 10 Years of MicroservicesJames LewisThursday Oct 3, 17:30
-
The Past, Present and Future of Programming LanguagesKevlin HenneyFriday Oct 4, 09:10
-
Architecture and Responsible TechnologyRebecca ParsonsFriday Oct 4, 13:10
-
Tidy First? A Daily Exercise in Empirical DesignKent BeckThursday Oct 3, 13:10