Skip to content

Boolean Blindness: Using domain modelling to make your code bug free

Photo of Dave Tank
Hosted By
Dave T.
Boolean Blindness: Using domain modelling to make your code bug free

Details

Have you ever mixed up parameters because they were the same type? Have you had to refer to documentation just to understand what parameters are what? Have you ever gotten into a situation that "should never happen"?

In this talk, Michael Gold will take you on a whirlwind tour of domain modeling, using booleans as a jumping-off point, to make your code more readable, understandable, and safe. We're going to take the concept of "making impossible states unrepresentable" to illustrate how solid domain modeling can help reduce bugs in your code. We will be looking at Typescript and F# for this talk, but concepts can extend to other languages.

Photo of New Jersey Cloud Computing and Software Engineering Meetup group
New Jersey Cloud Computing and Software Engineering Meetup
See more events