Where is Ruby Headed in 2021? - Big Nerd Ranch
18-Nov-2021 1975
Where is the Ruby language headed? At RubyConf 2021, the presentations about the language focused on static typing and performance—where performance can be subdivided into execution speed, I/O throughput, and parallel execution on multiple cores. These efforts are geared toward expanding the set of systems for which Ruby is a good fit.Static TypingStatic type checking can improve the developer experience by preventing type errors and improving editor assistance. Static type checking is most commonly implemented with type declarations in code, and the third-party Sorbet library implements type declarations for Ruby. However, Yukihiro Matsumoto (the creator of Ruby, aka “Matz”) has emphasized in several RubyConf keynotes that Ruby will not add type declarations officially. Instead, the Ruby approach to static type checks is via Ruby Signature (RBS) files: separate files that record type information, analogous to TypeScript .d.ts files. RBS files can be written by hand or automatically generated by tooling.
Where is Ruby Headed in 2021? - Big Nerd Ranch #ruby #rubydeveloper #rubyonrails #Where #Headed #2021? #Ranch https://rubyonrails.ba/link/where-is-ruby-headed-in-2021-big-nerd-ranch