New Ruby developers often wonder how to write safe code in Ruby without static typing. In this workshop, we’re going to refactor working code to get the data validation and safety of static typing, but using Ruby’s existing features. We’ll show how to use coercions, data objects, the null object pattern, among others, and we’ll use Ruby’s debugger and console to show the power of Ruby’s flexibility. We’ll even see how improve your editor tooling. Then, we’ll discuss how static typing can work together with dynamic typing to make the most maintainable code. You’ll leave with a great set of tools for improving the code you work on daily.
Get notified about new features and conference additions.