News for hackers. Stuff that matters.
Re:RBS, Ruby’s new type signature language by dragonwriter on Wednesday July 29, 2020 @08:13PM (#23992984)
Ruby syntax is designed to be easy to use and flexible for humans; the decisions taken in pursuit of that makes the actual syntax itself quite complex and difficult to parse and, more to the current point, difficult to modify without breaking things that are currently valid Ruby.
Re:RBS, Ruby’s new type signature language by osdiab on Wednesday July 29, 2020 @08:20PM (#23993020)
Yeah, there are so many alternate syntaxes, shortcuts, and ambiguous statements in Ruby; just reading through Matz’s reference book on Ruby was a trip for me.