Skip to content

Use of IO.println instead of System.out.println #51

@Flashky

Description

@Flashky

JDK 24

Currently at JDK 24 (preview), the class IO allows printing and reading with less boilerplate code.

Before:

System.out.println("Lore ipsum"")

After:

import static java.io.IO.println;
//....
println("Lore ipsum"); 

When this feature becomes gold (currently in preview), it would be great to modify the prints at the repository to this new method.

More information

https://foojay.io/today/java-23-has-arrived-and-it-brings-a-truckload-of-changes/

Metadata

Metadata

Assignees

No one assigned

    Labels

    new jdk featuresModifications of code related to new JDK features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions