There’s always more to learn, and who’s better at teaching than the Java community itself?
Starting a new project can be challenging. Sometimes it requires you to learn about new fields, do extensive research and try to find the best solution there is. This doesn’t apply just for new coding tasks, it’s also relevant to longstanding code bases and basically any field – even our very own blog.
There’s always more you can learn or apply, and sometimes the best ideas, concepts or even questions come through a set of fresh eyes. In the following post we’ve gathered our favorite comments from across the blog, that added value, perspective and even humor to our posts.
The Endless Debates Over Java Code Styles
Some wars are endless, such as Android vs iOS, Sega vs Nintendo or tabs vs spaces. That’s why we’ve decided to see once and for all what are the most interesting highlights in popular Java code styles.
As you can probably guess, the war went on in the comments section. Or as Gil Megidish put it:
“This is how World War 1 began”.
Another comment that caught our attention was Vitor Canova’s simple, yet interesting question:
“What’s the exact argument for someone to use spaces? True question. The only difference I see is you need to type more with spaces.”
This lead to a few good answers, as you can see in the comments thread, explaining the main reasons to choose one method over the other.
Once and for all, do you use tabs or spaces? https://t.co/LNX8cAxYoL
— OverOps (@overopshq) July 6, 2016
Coding Advice and Tips From the Community
With dozens and even hundreds of tools, features and workflows, the development world can be challenging. There are some key elements you only learn on the fly, just because you had no idea you had to prepare yourself towards them.
There’s always a learning curve, but there are some elements we can be ready for in advance. That’s why we’ve decided to curated the top 5 things experienced developers can teach us about Java, to share the wealth.
Along with the information we’ve shared, our community helped with some advice of their own. A comment by Bhavya added some valuable tips to those making their first steps in the Java development world, that includes getting familiar with ANT, review your code, use profilers and learn shell/batch.
The Community Has Spoken
A few months ago we’ve decided to check out and name the top 5 Java 9 features that were bound to change the way you code. As the months went by, the list of upcoming features grew, some were tossed away and others got pushed back to Java 10.
But the one thing everyone wanted to see and didn’t, was native support for JSON. Alvaro Urbaez put it best with his comment:
“Why is so hard get native JSON support?? Uh.. :(“
Gacl has elaborated and explained that it should be native JSON support, but instead:
“Instead of native JSON, I’d prefer what Python has: super clean list and dictionary/map syntax with simple one-line conversion to/from JSON text. Preferably with list/dict comprehensions.
Most of these features are quite tiny or petty. The one big one is Jigsaw, I’m not sure how good or bad that will be. A native REPL is nice. Tons of other minor updates. Hopefully Jigsaw will benefit Scala too.
Project Valhalla has high-performance immutable value types, which is very important. That is already well in development and I presume it will be JDK 10.”
The Best Tools for Every Situation
You probably know this by know, but in case you missed it – we’re suckers for developer tools. It doesn’t matter if they’re old, new, enterprise or startup oriented, if it’s something that might be useful we want to check it out.
There are so many tools that can move the needle on how you develop software, from logging, through error handling, and up to monitoring. It’s an endless list that keeps on growing. That’s why we try to focus on a small number of tools in each post, moving from one product category to another, counting on you to let us know what else you’d like us to write about.
And we know we can count on you. Just recently we’ve covered 5 open source tools for Java performance monitoring that are worth checking out, and got a number of responses about additional open source tools that are worth your time.
— Mike Croft (@croft) February 24, 2017
We appreciate our community and acknowledge the way it helps us grow. There’s always more to understand, implement or learn, and sometimes the best answers or the most intriguing questions can challenge us to expand our horizons and learn more about Java.
If there’s anything you’d like us to write about, we would more than love to hear about it in the comments below.