4 ms·
Interactive Ruby (IRB) (2023)
- Lio 3y agoI think one of the most interesting things to happen to IRB is the recent introduction of static type completion[1]. The fact that this is a nice, mainstream, usage of RBS types in the standard library gives me hope that RBS or some kind of inline[2] version of it will become much more common in future. 1. https://github.com/ruby/irb?tab=readme-ov-file#type-based-completion https://github.com/ruby/irb?tab=readme-ov-file#type-based-co... 2. The new Prism parser makes it much easier to extract an execute comments so I would be surprised if no one has thought of using that to annotate code with RBS types.