News for hackers. Stuff that matters.
Re:Unveiling the big leap in Ruby 3.3's IRB by mwgalloway on Sunday December 24, 2023 @07:04AM (#38752935)
Ruby has RBS and sorbet to support using type annotations. They are each relatively new and aren’t as clean and well integrated as Python’s implementation, but it’s not as if type annotations in Ruby don’t exist.
Re:Unveiling the big leap in Ruby 3.3's IRB by bhaak on Sunday December 24, 2023 @07:18AM (#38752992)
It does exist but they are not embraced by the majority of the Ruby community.

Unless type annotations are treated like first class citizen in the language, it won't be good enough. My theory is that those in the community wanting static types went to Go or Rust.

Re:Unveiling the big leap in Ruby 3.3's IRB by nurettin on Sunday December 24, 2023 @07:30AM (#38753054)
Of course anything can be done with RBS, but I think it came wayyy too late. Python type system is already given time to evolve and survive in the wild.

A second point is IDE support. It is so hard to get started with ruby auto-format, code completion, ctrl-click to follow code and debug. Python is readily usable in pycharm community edition.