Give Your Code a Shot of Caffeine
Join the DZone community and get the full member experience.
Join For FreeAlmost all programmers and developers at least have some working knowledge of Java, and it’s the most commonly used language for Android apps. The TIOBE Index for October 2014 names Java as the second most used coding language on the Internet. So, if you're like me and you like to work as efficiently as possible, Percolate has some exciting news for you.
On October 13th, Percolate announced its Caffeine Android library. Percolate promises that the library will speed up development for Android, as Java, in their own words, can be very “verbose.” Caffeine promises to do these three things:
1. Shrink Your Codebase
“Some tasks that would require multiple lines of code now only take one, or maybe two lines. At Percolate, using this library, we have not only shrunk our code base, but also eliminated fair amount of code duplication. This follows the DRY, (short for Don’t Repeat Yourself), software development principle, which is a very good thing to strive for.”
2. Provide Greater Protection Against Buggy Code
“In the case of Android applications, poor exception handling can lead to buggy apps that crash, which results in a poor experience for users. Caffeine helps solve this by providing very thorough, well reviewed, and heavily tested code that can be used in critical parts of your application, where exception handling may otherwise be forgotten."
3. Be Part of an Open-Source Family
“Percolate has always strived to produce high-quality, feature-rich software that is fun to use. Caffeine was built with those standards, as were our other open source tools: jennifer, jsonmatch, and redset."
At an initial glance, it seems that all the codes have one theme in common: Your time spent coding and maintaining that code will be greatly decreased. For example: Caffeine’s CountUtil code contains number formatting and stylistic choices, i.e. you would have 15k instead of 15,000.
Opinions expressed by DZone contributors are their own.
Comments