Java Language

Java language news, information, and how-to advice

steamy java

ChoiceFormat: Numeric range formatting

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


scripting

Java, C++ slip in popularity as domain-specific languages spread

The spread of DSLs in niche fields could be gradually reducing the need for general-purposes languages like Java and C++.

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.

Big Java news in late summer 2014

Java modularity and updated JVM performance options spark developer interest in Java EE 8 and Java 9.

steamy java

Why developers should get excited about Java 9

The next generation of the enterprise development platform will feature major improvements, including modularity and API updates.

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.

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.

steamy java

Oracle hasn't killed Java -- but there's still time

While Oracle fiddles with fixes and lawsuits big ideas are happening elsewhere in big data, cloud computing, and mobile. Where's the leadership that made Java great?

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.

scripting

Why one developer switched from Java to Google Go

Pivotal's Matt Stine, who was raised on Java, has become an advocate for the Google-built Go language. Find out why one developer chooses Go for building system-level software.

Oracle to release 115 security patches

Oracle plans to release 115 security patches on Tuesday, for vulnerabilities affecting a wide array of its products, including its flagship database, Java SE, Fusion Middleware and business applications.

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.

Custom Cassandra data types

Learn to create and then use custom Cassandra Query Language data types in this quick tutorial from Dustin Marx.

Next generation Project Valhalla proposed

Proposed by Brian Goetz, Project Valhalla would provide long-term structure and support for evolving the Java language and platform. Voting by current OpenJDK members closes on July 7.

Load More