Today Iâ€™m attending beCamp at the offices of CBIC on the downtown mall in Charlottesville.Â There have been some very interesting sessions already and attendance is great.Â I suggested one session,Â which we just had this morning.Â I titled the session â€œHow to choose languages – .NET vs Ruby vs Java vs Php vs ?â€.
At OpenSource Connections, we have a wide range of skillsets covering all the major languages, and we have the pleasure of working with a wide variety of clients where we get to use all those different skillsets.Â Itâ€™s a lot of fun and something I really like about OpenSource.Â Often times for our projects, the clientâ€™s needs specifically dictate a particular language, but other times they have no preference or are building a system from the ground up and we get to helpÂ choose the language.Â I have my ideas of the various benefits and disadvantages of the languages, but I proposed this session to hear other peopleâ€™s feedback as well.
We had a great group of about a dozen people in the session, with skill sets that covered c, c++, perl, .net, php, java, ruby on rails, cold fusion, and even Delphi.Â This wide range of experience brought some interesting perspectives.
I started the conversation by stating that all development languages are just tools, and the important thing is what we build at the end.Â The important thing is not necessarily did we build it in .NET or Ruby, but did we meet the customerâ€™s needs?Â I prefer to be technology agnostic, and most everyone in the session seemed to agree with that sentiment.
One of the first things said in the session was probably the most observant:Â the choice of language is often presented to us as developers, and that decision is actually made by the business, not development.Â I think David from the Darden Business school at UVa was the one who pointed that out first, and itâ€™s certainly very true.Â The group seemed to agree with that, but with some reservation that we wish we could have more control over the language used.
Mike from Fabjectory pointed out that in reality, the framework may be more important than the language chosen.Â Ruby on Rails may be the best example of this, because itâ€™s an easy to use framework that encourages you to do good development practices.Â Microsoft has release the MVC framework to accomplish a similar goal.Â
There was some discussion at the beginning when Caleb expressed a hope that there would be fewer different development languages in the future so that developers donâ€™t have to try and keep up with so much, but others pointed out that competition and having many diverse languages is part of what encourages innovation and new features.Â For example, Jim pointed out that Ruby on Rails is great for web development in part because itâ€™s geared specifically towards that process, whereas ASP.NET has procedural carryovers in the language from the old classic ASP and VB days.Â Likewise, Jim expressed the opinion that C# has become a better language than Java because it is more fresh and doesnâ€™t have as many legacy features as Java.
Your final deployment server will also drive the choice of language naturally.Â If you company will only run Windows servers, then you probably donâ€™t want to try and run Ruby on Rails on top of SQL Server on a Windows server.Â You should probably stick with .NET.Â Likewise, if you are going with an Apache server, you should probably consider Ruby on Rails or PHP.
Who will maintain your application after it has been deployed?Â If you are a consultant, than the skills of your client need to be considered.Â How much do they want to modify it themselves, and what skill sets do they already have that will make this easier.Â I suggested that because of the development tools and the fact that itâ€™s a compiled language, I feel .NET is a much more scaleable and better language than PHP.Â However, if a client wants to tweek small parts of the code themselves, then Php may be a better choice because itâ€™s easier to modify and perhaps easier to understand to a non-developer but tech savvy person.Â But with that ability to make changes easily also comes risk:Â If the people making the changes donâ€™t know the whole system as a whole or good development practices, then the easily â€œhackableâ€ nature of PHP may actually get them in trouble.Â A more object oriented structure in .NET that needs to be compiled may be more stable and less susceptible to mistakes.
Considering how to make modifications in the future is also important.Â David from Darden expressed his opinion that when using Java web development frameworks, Struts is easier to make modifications to than Tapestry.
Towards the end of the session, we also briefly touched on a few other topics which I will quickly summarize peopleâ€™s opinions here.Â So here are more random thoughts from the session:
- Â .NET is the best option for building windows based desktop applications, but you should consider QT if you want a more cross platform compatible application.Â Java Swing according to one anonymous attendee â€œstill sucks 15 years later.â€
- One of the great things about Ruby on Rails is the built in testing and framework scaffolding.
- Mono can be used to make .NET applications run on other OSâ€™s. Â Though there wasnâ€™t much experience with actually doing that in the room, that is what some major companies are doing like MySpace.
- Building webservices is very easy in .nET, REST based applications are also easy in Ruby.
We ended the session on a funny note, when Jim made the statement that a lot of very large companies still use C for development.Â Though the people he is thinking of are older developers and so they may just be tied to older languages, they are still some of the brightest minds heâ€™s known.Â I believe it was pointed out that Amazonâ€™s services are built with C.Â So we’ve come full circle through C to .NET, Java, and Ruby, and perhaps ultimately back to C!Â (just to be clear, I state that with sarcasm.Â Although you can undoubtedly do all kinds of things with C, the value of all these newer languages and frameworks is how much easier they make it).
Thanks to all those who attended for a great discussion (completely devoid of any fist fights about which language is best), and Iâ€™m looking forward to the rest of beCamp this afternoon!
You can see a slideshow of my pics from beCamp 2008 here