Re: Ruby3 Will Have Types
Gerald Bauer <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <CAAxEZd9QuVbpEESGRGZm27mLX3kqNnHpAb6qRp=8S7QWFyvWOA@mail.gmail.com> |
Hello,
> Looks like Ruby is becoming Human unfriendly and computer friendly.
I'd rather say sometimes (strong static) types help and that's the
philosophy of ruby, that is, there are many ways to do it and, thus,
if you need types you have the option.
As an example - if you do source-to-source cross-compilation from
ruby [1][2] to secure "onchain" contract blockchain code you need
"strong" types - now if you don't have the option of types you can't
use ruby. If you do, you can. And - surprise, surprise - ruby is
actually the most beautiful contract scripting language.so far.
Otherwise, yes, strong static types are more in the way than a help
if you start out.
Cheers.
[1] https://github.com/s6ruby/ruby-to-solidity
[2] https://github.com/s6ruby/ruby-to-michelson
Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>