I recently took the time to checkout out Appcelerator’s Labs page where they allow users try out pre-release software. There are some interesting projects here, but I spent most of my time experimenting with Hyperloop, which could be the best new feature in Titanium.
I think Hyperloop will be one of the best additions to Appcelerator’s arsenal, but there are some improvements I would like to see before its final release.
In a typical project using Hyperloop, I might write something like this if I needed to require some native Android API’s:
A more complicated example that uses a lot of native API’s could look like this:
This looks a little messy. I would like to see ES6 style destructuring and object matching. That could make the code above look something like this:
This could make the code much more readable as classes from the same package will be grouped together, and var’s with matching names will be created automatically.
I, personally, cannot wait to start using Hyperloop in my daily development here at Shockoe. I think it will not only let me make more powerful applications that harness more native API’s, but it will also save me time when using third party libraries. Fewer native modules means less code to maintain down the line when operating systems and SDK’s are updated.
I think Appcelerator has a great product in development, and with a few improvements, it will be invaluable to the Appcelerator developer community.