January 2024
Intermediate to advanced
718 pages
20h 15m
English
To be honest, we’re a little conflicted about types in Ruby. We like the potential performance benefit, and the tooling advantages are promising. There’s definitely a communication benefit to being explicit with types. But we worry that some of Ruby’s dynamic power and flexibility is being traded for static typing, and for developers who came to Ruby for that flexibility, that can be a hard trade-off.
Some of that communication benefit can also come from documentation. In the next chapter, we’ll discuss RDoc, the official Ruby documentation solution, and YARD, a commonly used third-party extension.
Read now
Unlock full access