Comment Your Fucking Code!
A passionate rant arguing for the importance of writing clear comments in code, even when the code itself is well-structured and 'self-documenting'.
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.
302 articles from this blog
A passionate rant arguing for the importance of writing clear comments in code, even when the code itself is well-structured and 'self-documenting'.
Explores static and dynamic casting in Java, focusing on improvements for Streams and Optionals in Java 8 and beyond.
Explores the core concepts and features of Project Jigsaw, the module system introduced in Java 9, and its impact on code organization.
Explores the motivations and goals behind Project Jigsaw, the module system introduced in Java 9, addressing issues like JAR hell and weak encapsulation.
Announcement of LibFX 0.3.0 release, a JavaFX utility library with features like transforming collections and tree node streaming.
Introducing transforming collections in LibFX, which allow creating type-transformed views of existing Java collections like sets and maps.
Explains how Java 9's Project Jigsaw impacts JavaFX development and how JEP 253 aims to provide public APIs for internal features.
Announcing the first release of the JDeps Maven Plugin, which helps identify and block JDK-internal API dependencies to ease migration to Java 9.
A summary and analysis of Sandro Mancuso's 'Crafted Design' talk, which advocates for software architecture centered on the domain model.
Announcement of LibFX 0.2.1 release, a Java library with bug fixes and general-purpose utilities for developers.
Explains how Java 9's Project Jigsaw and its new module system can potentially break existing Java applications and codebases.
A developer's exploration of replacing verbose anonymous classes with concise lambda expressions and method references in Java.
Explores using Java default methods for interface evolution, focusing on challenges with generics when replacing entire interfaces.
Explores how to effectively handle software architecture within agile projects, based on a talk by Molly Dishman and Martin Fowler.
Explores implementing a null-safe 'Elvis' operator in Java using method references and utility methods for cleaner null handling.
A guide on using Google's Guava Testlib to create comprehensive test suites for custom Java collection implementations.
Explores how Java 8's default methods enable backward-compatible interface evolution, covering adding, replacing, and removing methods.
Explains Java's value-based classes, their limitations, and how they relate to future value types to prevent subtle bugs.
A guide to installing and troubleshooting Intel HAXM for Android emulator acceleration on a ThinkPad T440p, including BIOS settings.
A comprehensive guide to Java 8 default methods, covering syntax, explicit calls, and practical details for developers.