By Peter Bell

Ruby vs. Java myths: project size

Of course, as soon as I take a position on scripting languages vs. statically typed languages, I find a posting that argues that the idea that Java is better for larger projects is a myth.

To be honest, it doesn't really matter to me. While I might love to be in the enviable position of having too many developers to be able to direct them efficiently, running a bootstrapped startup, that just isn't part of my world right now.

To be fair, after reading the post I completely disagree with pretty much all of his contentions (as do a number of the commenters), so I'll stick with my original assertion, but it is always important to provide airtime for points of view you disagree with - otherwise you just end up with groupthink and miss the next big thing . . .

Anyone else got any thoughts on this?

Comments
Without having any experience on large teams working in Java vs. Ruby (or their generic counterparts), I'd like to see some data. My first impression is that Java would be better suited to projects with larger teams, but what is at play there?

If you have a large team size, is the reason Java is a better choice because you have "average" developers or are able to find more people more comfortable in that environment than a Ruby environment? If you had 25 good Ruby developers (who were also good Java developers) would it be a disaster to use Ruby for the project over Java?

I'd be interested to see if anyone had done valid research on this, but intuitively I'd probably side with you (I've yet to read the link you provided though, so perhaps I should have done so before posting this).
# Posted By Sammy Larbi | 6/2/07 8:32 PM
I know this has been pointed out before, but I do it again. Comparing Java (the programming language) and Ruby, it doesn't make a difference what "language" you use for your projects, large or small. The thing here is, and it seems that most people seem to forget this over and over again, is that Java is also a platform (commonly known as J2EE). The Java Platform does a lot more for you, especially on LARGE scale projects (think e.g. distributed software etc.), than just being a programming language. I'm sure every web project you can do with Java you can do with Ruby just as well. However, for creating enterprise quality software you need more than just a programming language. This is where Java (or .NET) comes in. These are platforms to build your enterprise on not just programming languages.
# Posted By pan69 | 6/3/07 3:19 AM
@Sam, I think it would be hard to do good comparative research, but you're right - it would be interesting to find out info like largest team size on a successful Ruby project - even just a case study from a project with 25 or 50 Ruby developers (if such a thing exists) would be cool.

Of course, the fact is that with 25 good programmers following agreed conventions, you can work in any language. The challenge with Ruby for me is that if you start using in-language metaprogramming and then don't document exactly what you're doing it could become very messy very quickly. In Java it is a little harder to b"blow your leg off" like that.

@Pan69, I think you can actually compare Java and Ruby as I think the IDE support and static typing alone bring benefits for larger projects. However it is also a good point that J2EE has more than just Java going for it, although I'm not sure how much of that you can take advantage of with JRuby which might narrow that gap . . .
# Posted By Peter Bell | 6/3/07 5:25 AM
Sammy, Muness Alrubaie has the relevant experience, and will be sharing anecdotes on large Ruby projects at erubycon (http://erubycon.com/).
# Posted By Stuart Halloway | 6/10/07 6:41 AM
Stuart - Awesome. Do you know if papers or summaries will be made available (perhaps even recordings of the presentations, even at a price)? I'm certainly open (in fact hopeful) to the idea, so anything I can get my hands on would be great.
# Posted By Sammy Larbi | 6/10/07 2:10 PM
Would also love to see. Unfortunately can't make the Ohio con. Perhaps I'll be able to learn more as I start attending other Ruby conferences as I'm looking forward to getting involved in the Ruby community in the same way as I have in the ColdFusion and Code Generation/DSM worlds.

Any conferences you'd recommend (Ruby rather than Rails . . .)?
# Posted By Peter Bell | 6/10/07 2:13 PM
Sammy: I don't know what erubycon's plans are for distributing materials, but I will let the organizers know of you interest. Peter: A lot of Rails conferences do more pure Ruby than you would think. Rails is great, but it doesn't take long to appreciate the secret sauce. Conference organizers need the Rails name for marketing, but more people like you asking for Ruby by name will help change that. :-)
# Posted By Stuart Halloway | 6/11/07 5:41 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.005.