Sunday, January 5, 2014

Android Studio - preview of the future

I do not like to be on the bleeding edge of technology.  I'll leave the headaches and perhaps glory to those early adopters who blaze a trail, write a review, and try out every new product that passes their way.

With that said, I spent some time getting Android Studio up and running this weekend.  There are a few reasons why this might turn out to be a waste of my time.

It's still a very immature product.  As of today, I'm using version 0.4.0.  This means, it is buggy. For example, see this bug and hacky workaround.  I ran into this issue, when I tried to build a new project from scratch.  I hadn't touched a line of code yet, and I already had a bug.

As with most new things, there is a learning curve associated with using Android Studio.  In the previously mentioned bugs, there were a number of unfamiliar terms to me: such as gradle, facet, module.  Lucky for me Google + Stackoverflow offered a solution, but debugging a problem in this environment can be pretty tough.  Was it my user error (probably) or was it a buggy part of Android Studio (possibly)?

But if I wait long enough, things should get better, right?  Well, maybe.  Google has smart engineers who can fix bugs and improve the product.  But like any other company, they have limited resources, and they might decide to stop supporting Android Studio (as they have done with other products).   

So, with all that is has going against Android Studio, why did I decide to start using it?  

First, I found out that sample Android projects were now set up for use with Android Studio.  I suppose sample projects for Eclipse are available elsewhere, but this is a strong endorsement for Android Studio.  

Second, I never fell in love with Eclipse.  Heck, I never even felt very comfortable with it.  I'm sure part of the reason is that I didn't spend enough time trying to become a better Eclipse user.  For that reason, I'm not qualified to say whether it is a good or bad product.  It certainly is useful for many people, and I've used it to build a few Android apps.  But, I'm not committed to it, and I'm willing to try something else.  

I think it was in the Pragmatic Programmer where it mentioned that it is really important for a developer to become proficient with the text editor or IDE they choose to use.  Writing code with an IDE that you don't like is clumsy and painful.

I hope my move to Android Studio is worthwhile.

No comments:

Post a Comment