No Static Types? No Problem!
December 13, 2024
1h 49m
Free
ruby
type-checking
static-typing
dynamic-typing
data-validation
null-object-pattern
active-record
tdd
debugging
editor-tooling
ruby-on-rails
Description
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.