Get started with lambda expressions in Java

Before Java SE 8, anonymous classes were typically used to pass functionality to a method. This practice obfuscated source code, making it harder to understand. Java 8 eliminated this problem by introducing lambdas. This tutorial first introduces the lambda language feature, then provides a more detailed introduction to functional programming with lambda expressions along with…

Read More

OpenJDK repo migration to GitHub gains steam

The effort to move the development of open source Java to GitHub is gathering steam, with the arrival of a formal proposal to migrate single-repository OpenJDK projects to the popular code-hosting platform. The plan, formalized as part of the OpenJDK Java enhancement proposal process, would move Java’s Git repos to GitHub in concert with another…

Read More

Python overtakes Java on GitHub

Python has become the second-most-popular language in GitHub, overtaking Java for the first time and ranking just behind JavaScript, according to GitHub’s 2019 State of the Octoverse report on usage of the popular code-sharing site. Driving Python’s growth is increased use by data science professionals as well as hobbyists, GitHub reasons. The rankings were based…

Read More

C challenges Java in language popularity survey

After nearly five years as the leader of the Tiobe index of programming language popularity, Java is now in a virtual dead heat with C. C trails Java by a mere fraction of a percent, according to the Tiobe Index of November 2019. While Java is still ranked number one, with a rating of 16.246…

Read More

Red Hat’s Quarkus Java stack moves toward production release

The fast, lightweight, open source Quarkus Java stack will graduate from its current beta designation and become available as a production release at the end of November. Sponsored by Red Hat, the microservices-oriented Java stack supports both reactive and imperative programming models.  Quarkus is a Kubernetes-native Java stack for cloud-native and serverless application development. Quarkus promises…

Read More

Get started with lambda expressions

Before Java SE 8, anonymous classes were typically used to pass functionality to a method. This practice obfuscated source code, making it harder to understand. Java 8 eliminated this problem by introducing lambdas. This tutorial first introduces the lambda language feature, then provides a more detailed introduction to functional programming with lambda expressions along with…

Read More

Android Studio 4.0 backs native UI toolkit

Google has rolled out a preview of the Android Studio 4.0 IDE, with support for the Jetpack Compose toolkit for building native Android UIs. Android Studio 4.0 “Canary” works hand in hand with Jetpack Compose, which leverages Kotlin APIs, reduces coding requirements to build native UIs, and automatically updates a UI when state changes. Now…

Read More

Google App Engine adds support for Java 11

Google’s App Engine cloud has added official support for Java 11, the latest long-term support (LTS) version of the Java language platform, as a production release.  The App Engine Standard Environment Java 11 runtime is generally available for running any Java 11 application, web framework, or service in a managed serverless environment. Java 11 had…

Read More

Kotlin 1.4 to improve null-check capabilities

Kotlin 1.4, a planned upgrade to the statically typed JVM language created by JetBrains, is set to add null-check optimizations. Starting with the Kotlin 1.4 release, all runtime checks will throw a java.lang.NullPointerException instead of a KotlinNullPointerException, IllegalStateException, IllegalArgumentException, and TypeCastException.  [ What is Kotlin? The Java alternative explained. • Tutorial: Get started with Kotlin.…

Read More

Visual Studio Code updates Java support

The September 2019 update to the Visual Studio Code editor, known as version 1.39, includes a number of new capabilities and improvements for Java developers. In addition, support for Java 13, the latest version of standard Java, has been added via the Language Support for Java extension from Red Hat. New Java features in Visual Studio…

Read More

Kubernetes-native Quarkus Java ready for testing

Quarkus, Red Hat’s Kubernetes-native Java stack geared for cloud and microservices applications, is set to move to internal testing before potentially being opened up to developers as a product offering in coming months. With Quarkus, Red Hat aims to enable smaller footprints for Java applications, making them more amenable to container deployments, more portable, and…

Read More

Is Java the next COBOL?

COBOL programming language turns 60 this month and, as Steven J. Vaughan-Nichols has written, could well “outlive us all.” Indeed, COBOL offers a great example of the true pace of progress within our industry, while perhaps also offering some clues as to what tomorrow’s COBOLs will be. Java and SQL, anyone? Or perhaps Python? COBOL…

Read More

10 open source projects proving the power of Google Go

Now 10 years in the wild, Google’s Go programming language has certainly made a name for itself. Lightweight and quick to compile, Go has stirred significant interest due to its generous libraries and abstractions that ease the development of concurrent and distributed (read: cloud) applications. But the true measure of success of any programming language is…

Read More