Last week we published a short Java challenge that required you to make javac generate the smallest Java class possible.
It got a pretty good response, quite a few of the readers decided to stretch their javac knowledge and try their hands on the challenge.
In this post, I’d like to show you a couple of solutions that I got from our readers.
Spoiler alert! If you want to see whether you can convince javac to generate a smaller class file, this is the right time to stop reading and open your terminal.
Today, however, I’d like to pose you a code-golf like challenge:
What’s the smallest Java class you can generate using javac (any vendor, any release)?
In this post, I’ll list the libraries which we learned about in the latest Virtual JUG session: The JavaFX Ecosystem by Andres Almiray. Andres has presented on the Virtual JUG before; you might remember his excellent session on how to use Gradle effectively.
The session focused on the open source JavaFX libraries that offer something that you often need in a project. And it was organized by topic: layout, testing, icons, and so on. So we’ll follow that path and cover the JavaFX libraries that Andres gave a shout out to. Disclaimer, this is not the full list of the libraries in the JavaFX ecosystem! But it’s a great place to start if you’re new to JavaFX, or if you have some experience with it and want to get better.
Android development is fun there’s no doubt about it! But there is also a lot of repetitive boilerplate code that the platform forces us to write. Quite a lot of it is related to the UI components that you need to process. Some of it is required when you want your application architecture to be clean. There are a lot of operations executing asynchronously in the background – in fact, it’s quite easy to end up with a bunch of spaghetti code that is unreadable or just does not feel right.
Today we’ll look at 7 Android libraries that help you keep your code clean and readable, using an example project so that you can see the libraries in action.
RebelLabs is the media partner for the Virtual JUG, the online Java User Group which brings you the best sessions by world class speakers. The best part? You don’t have to leave your house or office to enjoy them! You can educate yourself and become a better developer even from the comfort of your home!
RxJava is growing in popularity in Android application development. However, it is also very capable for server-side apps. RxJava makes concurrency easier even though a seasoned Java developer would have to re-learn the concepts to become comfortable with the new idioms.
Welcome to the tenth RebelLabs cheat sheet! This time we’ll focus on the useful JVM options you might want to use, but forget about. In this post, we’ll describe what each of the featured options do.