Learn Java

Learn Java news, information, and how-to advice

Software developer shortage transcends international boundaries

More grade-school level technology education would help meet the unprecedented demand for qualified programmers.

code screen shutterstock

ChoiceFormat: Numeric range formatting

Learn how to use ChoiceFormat and its patterns to customize the formatting of numeric ranges in your Java programs.

steamy java

Java 101: The next generation: The essential Java language features tour, Part 5

Not all varargs methods will contribute to heap pollution, so find out which ones do and why, in this second half of Jeff Friesen's introduction to small language changes that have made a big difference since JDK 7.

programming career
Tip

3 make-or-break interview questions for developers

It's developer season at my company. Unlike with deer season, we’re hiring rather than shooting, though not all survive the interview process.

internet race speed internet competition winning computer mouse technology digital 000000679415
Tip

10 more do's and don'ts for faster SQL queries

Follow these tried-and-true techniques to improving both the speed and concurrency of your dawdling database.

on target

Scala founder: Language due for 'fundamental rethink'

The Scala road map has three upgrades planned, with a simpler, more modular language set as the end goal.

Beyond average: 10 best practices for coding Java APIs

Stretching the limits of Java has its pitfalls, and it's also unavoidable for many advanced programming scenarios. jOOQ creator Lukas Eder offers 10 best practices for less common scenarios in API design and development.

openjdk java

Programmers could get REPL in official Java

Java could add a Lisp-based read-evaluate-print-loop tool as part of Project Kulla, but developers debate whether it's a good fit.

developers
Tip

What I wish I'd known starting out as a programmer

Why make the same old career mistakes when you can make new ones? Andrew Oliver distills some of the harder lessons learned early in his programming career.

Autoboxing, Unboxing, and NoSuchMethodError

The Java NoSuchMethodError sometimes arises when pre-Java 5 classes are compiled with classes that include autoboxing and unboxing syntax. Find out why and learn how to work around it in this post.

bstroustrup

Stroustrup: Why the 35-year-old C++ still dominates 'real' dev

C++ inventor details the language's latest changes and assesses the strengths and weaknesses of its competitors.

open source
Tip

How to crack an open source community

Want to contribute to an open source project? Here are the main reasons you'll struggle -- and some tips to help you persevere.

java gears

Shipilёv on writing good benchmarks -- Java vs Scala

Writing good benchmarks begins and ends with the relentless drive to understand why your system is behaving as it does. Once you've got that down, optimization naturally follows.

java union

Get real: Oracle is strengthening -- not killing -- Java

Oracle has made its share of bungles, but technologically it has put Java on a progressive track.

java snazzy

Iterating over collections in Java 8

Get an overview of Java iterators and how each version of Java handles them differently, including what you can do with the new forEach() method and Stream API features in Java 8.

marx books

Books that have most influenced my software development career

Dustin Marx names 9 books that have earned a permanent place in his bookshelf, and maybe yours.

Python bumps off Java as top learning language

Python's simpler syntax and ability to scale up for enterprise development have made it the preferred language choice for learning to code.

In praise of Java template engines

A Java template engine's built-in MVC architecture can cut the learning curve for a Java beginner, but more seasoned developers find plenty of reasons to use them too.

The ultimate superclass, Part 3

This post completes a three-part series in which I present and answer questions about Object and its methods.

Load More