4 ms·
"Statically-typed Ruby" that isn't actually Ruby, but a subset of Ruby[1] + mandatory type annotations. A rather misleading title. E.g. here's an example [2],
by vidarh 11y ago
"Statically-typed Ruby" that isn't actually Ruby, but a subset of Ruby[1] + mandatory type annotations. A rather misleading title.
E.g. here's an example [2], with stuff like this:
## java.lang.String -> void
def set_title(title)
@title_view.setText(title)
return
end
I kinda doubt this will take off with most Ruby users. Though being able to use something quite close to Ruby to write native Android apps is somewhat appealing even with extra pain (RubyMotion seems nicer to me, but the compiler only runs on OS X).
[1] "The runtime implements selected methods from core classes" [long list omitted]
[2] http://webcache.googleusercontent.com/search?q=cache:sUdn7y_lf8gJ:infraruby.com/examples/wiktionary+&cd=1&hl=en&ct=clnk&gl=uk http://webcache.googleusercontent.com/search?q=cache:sUdn7y_...
- infraruby 11y ago> "Statically-typed Ruby" that isn't actually Ruby Yes, "statically-typed Ruby" != "Ruby". > but a subset of Ruby Necessarily (because "statically-typed"). You can see the supported methods here: http://infraruby.com/reference http://infraruby.com/reference
- duaneb 11y agoRubyMotion is terrible: it's expensive, closed, and is basically objective-c meets ruby syntax. This is at least running on a JVM, which gives you a buttload of tooling.
- MrBra 11y ago> Though being able to use something quite close to Ruby to write native Android apps is somewhat appealing even with extra pain [...] To that purpose Ruboto is worth a mention too: http://ruboto.org/ http://ruboto.org/ https://github.com/ruboto/ruboto https://github.com/ruboto/ruboto