Java 9 Additions To Optional
Explores new methods added to Java's Optional class in Java 9, focusing on the stream() method and its practical applications for cleaner code.
Nicolai Parlog (nipafx) is a Java Developer Advocate at Oracle who shares deep insights on Java through blogs, talks, books, videos, and open-source projects, helping developers learn and grow.
297 articles from this blog
Explores new methods added to Java's Optional class in Java 9, focusing on the stream() method and its practical applications for cleaner code.
A talk arguing for the importance of code comments, debunking common arguments against them and providing a framework for effective commenting.
Explores new Stream API methods added in Java 9, specifically the `takeWhile` and `dropWhile` operations for working with prefixes.
A technical guide explaining the importance of implementing the hashCode method correctly in Java, especially when overriding equals, to ensure proper behavior in hash-based collections.
A guide to correctly implementing the equals method in Java, covering identity vs. equality and best practices.
A speaker's experience and talk highlights from the JEEConf 2016 Java and enterprise software development conference.
A comprehensive talk and demo covering JUnit 5 features, architecture, migration from JUnit 4, and advanced testing techniques.
A developer announces a blog redesign and new writing opportunities, including articles on Java's Project Jigsaw and JUnit 5 for tech publications.
A developer recounts a massive, poorly-scoped code review and the strategies used to salvage it, emphasizing best practices.
A developer discusses the significant time investment and hidden challenges of blogging, offering a realistic counterpoint to common advice.
An advanced guide exploring the Java Platform Module System, covering topics like dependency modeling, services, reflection, jdeps, jlink, and runtime images.
A guide to building the Atom text editor from source on Gentoo Linux, covering dependencies and installation steps.
Analyzes the time investment and value of code comments, covering initial writing and maintenance costs versus long-term benefits.
Explains Java's 'requires transitive' for implied readability in the module system, allowing modules to re-export dependencies.
Highlights subtle bugs in Java Stream's findFirst() and findAny() when assuming unique results, and suggests fail-fast alternatives.
A developer's professional review of 2015, detailing progress on open-source projects like ControlsFX, LibFX, and FindBugs based on yearly resolutions.
A hands-on guide to modularizing a Java application using Project Jigsaw, the module system introduced in Java 9.
Announcing JDeps Maven Plugin 0.2, a tool that breaks builds on unexpected JDK-internal API dependencies with flexible rule configuration.
Oracle proposes a six-month delay for Java 9's release, primarily due to the complexity of Project Jigsaw and modularity.
An exploration of the JUnit Lambda prototype, detailing its new features and API changes for Java 8+ testing.