Solving the Boolean Identity Crisis

April 26th 2019 13:30 - 14:15
Summit 1
Powerful in its simplicity, the boolean can be limiting. In this talk, we will look at examples where booleans obscure the meaning of code and make it harder to maintain. You will learn patterns such as ADTs to write clear code without booleans and gain greater empathy for your teammates and users.

The primary goal of this talk is to teach attendees the importance of usability in the code they write and UIs they design. At some level I hope to encourage attendees to developer better empathy towards others in this process. My vehicle for exploring this topic will be misuse of booleans in Elm. Therefore, the practical, secondary goal of my talk is to teach attendees how to write cleaner code by using union types and higher-order functions instead of booleans. I want attendees to learn that union types and higher-order functions help declaratively model intent and domains in code better than booleans.
Jeremy Fairbank avatar
Jeremy Fairbank
@elpapapollo
Jeremy is the author of Programming Elm from The Pragmatic Programmers. He works for Test Double as a remote software developer and consultant, helping improve how the world builds software. He has many years of experience in front-end and full-stack development and has presented numerous times at c...
This website uses cookies. By continuing to browse you agree to this and Conferize's terms of service.