Live data from Hacker News

RubyMotion - Ruby for iOS

rubymotion.com

201–210 of 250 posts

Re: RubyMotion - Ruby for iOS

#201
post #190

Earlier quoted context omitted.

I like ruby but please, do not call it a functional language. Its not even remotely close.

Why not? Sure, neither ruby nor python emphasise immutability, and recursion isn't optimised, but both lend themselves to a functional style if you're so inclined. See http://stackoverflow.com/questions/159797/is-ruby-a-function...

Actually MacRuby does do tail call optimisation (and so does MRI 1.9 if you turn it on).

Re: RubyMotion - Ruby for iOS

#202

I love this. It looks like exactly what I've been looking for since the iPhone SDK was first announced. I've been a web/RoR developer since high school but could never find the motivation to get used to all of Objective C/XCode's quirks. I've tried everything from PhoneGap to Appcelerator to mimicking native feel in a browser, but it was never enough. This is perfect. But quite frankly, I can't afford it. I'm a colle…

If you'd sat down and spent all that time on Obj-C you'd be coding away at it by now.

Sometimes searching for an easy way out is a waste of time.

Re: RubyMotion - Ruby for iOS

#203

My thoughts: "Hey! This looks pretty neat. Oh it's $150 on sale, forget this. Oh it's only for macs, glad I never bought this piece of garbage." That being said, it could be great, I have no idea.

I think you've clicked on the wrong site. Digg/Myspace is --------------> that way.

Re: RubyMotion - Ruby for iOS

#204

Earlier quoted context omitted.

Following up to note that: - Despite the opinion clearly being unpopular here, I stand by it: the ruby community is toxic-at-best, and totally technogically uninteresting. Individual Ruby developers may be very nice people, but that doesn't make the technology any more notable or novel, and doesn't change the general tenor of the Ruby community, which seems to be driven by larger than life personalities and a general…

Though you seem completely uninterested in anything but repeating your toxic, dogmatic, and insular refrain, I may as well add my voice to the chorus of those who see a different community than the one you do. But I also want to respond to the somewhat more interesting portions of your argument - is ruby "technically interesting", "notable", "novel", and/or lacking in "solid applied computer science", and to what ext…

How does it combine the OO of smalltalk and the functional programming of lisp? What was smalltalk lacking that ruby added?

Re: RubyMotion - Ruby for iOS

#205

Will apps created using this have any problems getting approved with App Store?

No. From the FAQ ( http://www.rubymotion.com/support/#faq ): "Applications submitted to the App Store must conform to the Review Guidelines dictated by Apple. RubyMotion implements a dialect of Ruby that conforms to those rules. RubyMotion apps are fully compiled, do not download or interpret code and are using public iOS APIs through the exact same machinery as regular Objective-C apps."

I would rather see confirmation from Apple (doubtful) or developers who have successfully submitted apps to the App Store.

Re: RubyMotion - Ruby for iOS

#206

Earlier quoted context omitted.

Forgive my ignorance of iOS, but do the current Objective-C based tools deliver "An interactive shell [...] for introspection, live coding and debugging" ? If RubyMotion can actually deliver a real first-class REPL that works, that would be a pretty huge deal. Lack of a REPL is the biggest reason why I dislike mobile (Android) development.

What are you looking for with an Android REPL? Asking because this is something I might be interested in building. Feel free to take the conversation to email (@gmail) or twitter (@jbrechtel) if you'd rather limit the off-topic discussion.

It would have to be very close to as powerful as deploying code in an APK, in other words few limitations on what kind of code can be run via the REPL. There are two big limitations with Android here, as far as I understand it: there's a fair amount that you're not allowed to do dynamically (like create new Activities), and Dalvik has limitations with dynamic class generation. To be honest I haven't experimented with it much, but I was disappointed that the Clojure and Ruby REPLs didn't quite deliver what I was hoping they would (no fault of the project authors)

Re: RubyMotion - Ruby for iOS

#207
post #190

Earlier quoted context omitted.

I like ruby but please, do not call it a functional language. Its not even remotely close.

Why not? Sure, neither ruby nor python emphasise immutability, and recursion isn't optimised, but both lend themselves to a functional style if you're so inclined. See http://stackoverflow.com/questions/159797/is-ruby-a-function...

I think 55pts makes an important distinction: just because it's possible to write programs in a functional style doesn't mean it's a functional language. The answer with the most votes in your SO link sums it up: Ruby is an imperative, OO language, and you can be generous and add that it has first-class functions and lexical closures. But JavaScript, Python, Perl, PHP, and C# fall in this category, and maybe Java 8 will too. If they are all "functional languages" then the phrase is meaningless.

Re: RubyMotion - Ruby for iOS

#208
post #98

Earlier quoted context omitted.

Honestly, I'm part of the mostly-silent majority of polyglot programmers that choose the best language for the job and have grown increasingly weary of Rubyists wheel invention and focus on rock star programming and rock star rants. It's the only community that I find socially insufferable, and while an unpopular opinion here, I don't relish the notion of Rubyist culture. Culture aside, simply technologically, Ruby h…

"polyglot programmers that choose the best language for the job" You just described the majority of Ruby coders I've ever worked with. (mentally scrolls work history roster of Ruby devs...) Yeah, in fact you've just described all of them. I'm sorry your sampling of Ruby coders has been so poor, and I'm sure you could present examples to defend your prejudice. I know the stereotype you're talking about. I haven't work…

If that describes said ruby programmers, then why are they using Ruby?

> Nevertheless, it seems to me you've become the thing you claim to despise: insular and closed off to experiences that would contradict your dogmas.

That would be the opposite of "polyglot". I can find value in Clojure's concurrency design, Python's scientific community, Scala's marriage of OO and functional, F#'s modernization of ML environments, C#'s language design, ObjC's UIKit/AppKit libraries, C's propensity for close-to-the-metal optimization without dropping to assembly, Haskell's lazy evaluation and functional purity, OCaml's mixture of pure functional with mutable state, Erlang's micro-thread actors, Java's virtual machine, Smalltalk's REPL-on-steroids, lua's JIT.

However, almost nothing from Ruby. The technology there is almost totally uninteresting -- it's just yet another imperative scripting language with a poorly designed runtime -- and the community, unlike Python's, doesn't make up for it. In fact, that Ruby community is one of the primary things that seems to give technologists a bad name outside the technology industry. When I hear tales of sexist conference behavior, inappropriate language in presentations, and outright bad wheel-reinventing technology, the tales are almost always tied to either Ruby, youthful startups, or both.

So -- no, I don't look forward to them joining the rest of us in the iOS space.

Re: RubyMotion - Ruby for iOS

#209

I don't see the point of this. Objective-C is not hard to learn, and with ARC, blocks, the new literals for NSArray and NSDictionary, etc, Objective-C has actually become pleasant to write IMO. The example RubyMotion code also doesn't look very nice either. The problem with Rubyists (being one for the past 6 years I feel qualified to say this) is in general they want to use Ruby for everything. It's not always the be…

a big different is, now the ruby eco-system is in play. the ability to write DSLs to further enhance the development effort.

Re: RubyMotion - Ruby for iOS

#210

Earlier quoted context omitted.

Following up to note that: - Despite the opinion clearly being unpopular here, I stand by it: the ruby community is toxic-at-best, and totally technogically uninteresting. Individual Ruby developers may be very nice people, but that doesn't make the technology any more notable or novel, and doesn't change the general tenor of the Ruby community, which seems to be driven by larger than life personalities and a general…

I thought this rhetorical style sounded familiar. http://news.ycombinator.com/item?id=3844851 I don't think many here are arguing that Ruby is particularly interesting technology-wise. Amongst languages, well, it isn't particularly. But the baseless FUD about the "culture" or the "community" is unnecessary.

A simple Google search would show that issues with unprofessional, sexist, and outright ridiculous behavior in the Ruby community is hardly baseless.

Its driven from the top, largely because most mature programmers that would provide a counter to community immaturity have no reason or need to use Ruby.

Post reply on HN