News for hackers. Stuff that matters.
Re:RBS, Ruby’s new type signature language by dragonwriter on Wednesday July 29, 2020 @07:01PM (#23992504)
> This format already looks like a Ruby class definition with the method bodies omitted and some simple "-> type" and ": type" syntax added

The thing is that much of it is perfectly valid Ruby code with wildly different semantics already, so, no, without breaking a lot, you can't unify it with Ruby syntax.

There are no comments on this comment yet.