Going through my bookmarks rn and I'm rediscovering some interesting stuff …

https://engineering.monstar-lab.com/en/post/2021/05/27/Static-type-checking-in-PicoRuby/

#ruby #mruby #picoruby #embedded

Static type checking in PicoRuby

The static type system ensures correspondence of the "type" among arguments, parameters, and return values. The point is that you can notice some kinds of bugs in advance of execution. Static typing l

This got me wondering about how #rbs is coming along. I tried to apply it some years ago to a little gem of mine, but had some issues when describing types of a C-ext that the gem used. But that's old story, I should try again, when I have some free time ofc 😀
@chadow I'm considering using RBS in a limited capacity at work, with inline syntax. (Having to maintain the .rbs file directly sounds painful.)
@fpsvogel ooh RBS-inline looks handy. Thanks!