Nicolai
I'm a thirty year old boy, as the narrator would put it (if he squints), who has found his passion in software development. I constantly read, think, and write about it, and code for a living as well as for fun.
My home is codefx.org.
I wrote The Java Module System with Manning, blog about software development, and have a YouTube channel. I am a freelancing developer, author, and trainer - you can hire me for all kinds of things.
I'm a thirty year old boy, as the narrator would put it (if he squints), who has found his passion in software development. I constantly read, think, and write about it, and code for a living as well as for fun.
My home is codefx.org.
I wrote The Java Module System with Manning, blog about software development, and have a YouTube channel. I am a freelancing developer, author, and trainer - you can hire me for all kinds of things.

I code, consult, and review; read, tweet, and share; write, edit, and publish; talk, train, and, if some time is left, think.
I code, consult, and review; read, tweet, and share; write, edit, and publish; talk, train, and, if some time is left, think.
JUnit 5 extension pack, pushing the frontiers on Jupiter
JUnit 5 extension pack, pushing the frontiers on Jupiter
Für 'var' leitet der Compiler den Typ ab. Der kennt aber ein reichhaltigeres Typsystem, als die Sprache erlaubt, wodurch 'var' einige Tricks ermöglicht.
Für 'var' leitet der Compiler den Typ ab. Der kennt aber ein reichhaltigeres Typsystem, als die Sprache erlaubt, wodurch 'var' einige Tricks ermöglicht.
Hinter 'var', formal "Typinferenz für lokale Variablen", versteckt sich in Java 10 ein Feature, das Javas Optik ordentlich umkrempeln wird. Wie funktioniert es und worauf muss man achten?
Hinter 'var', formal "Typinferenz für lokale Variablen", versteckt sich in Java 10 ein Feature, das Javas Optik ordentlich umkrempeln wird. Wie funktioniert es und worauf muss man achten?
Migration requires careful planning and diligent execution, while sidestepping several "gotchas".
Migration requires careful planning and diligent execution, while sidestepping several "gotchas".
Y U break my code, Java 9?
Y U break my code, Java 9?
On Java 10+, you can use application class-data sharing to reduce launch times, response time outliers, and memory footprint. By archiving class data with -Xshare:dump and loading it with -Xshare:on, the JVM's class loading workload can be reduced considerably.
On Java 10+, you can use application class-data sharing to reduce launch times, response time outliers, and memory footprint. By archiving class data with -Xshare:dump and loading it with -Xshare:on, the JVM's class loading workload can be reduced considerably.
Showing code for the most important Java 9 features: private interface methods, stream and optional APIs, collection factories, reactive streams, stack walking, multi-release JARs, redirected platform logging, unified logging, the module system, and more. If you're new to Java 9, start here.
Showing code for the most important Java 9 features: private interface methods, stream and optional APIs, collection factories, reactive streams, stack walking, multi-release JARs, redirected platform logging, unified logging, the module system, and more. If you're new to Java 9, start here.
How to use the compiler executable, toolchains, and mavenrc to run Maven on Java 9 and how to use mvn/jvm.config and profiles to configure your build.
How to use the compiler executable, toolchains, and mavenrc to run Maven on Java 9 and how to use mvn/jvm.config and profiles to configure your build.
Java 10 introduces ‘var’ which lets the compiler infer local variable types. Here’s how it works, why it exists, and how it impacts readability.
Java 10 introduces ‘var’ which lets the compiler infer local variable types. Here’s how it works, why it exists, and how it impacts readability.
Java 10 will be released in March 2018 and it comes with local-variable type inference, which means we can use 'var' instead of a type name when declaring local variables.
Java 10 will be released in March 2018 and it comes with local-variable type inference, which means we can use 'var' instead of a type name when declaring local variables.
Learn all the module system basics in this tutorial: how to declare modules with module-info.java, compile, package, and launch them and what role the module path and readability graph play.
Learn all the module system basics in this tutorial: how to declare modules with module-info.java, compile, package, and launch them and what role the module path and readability graph play.
Java 9 is out today and with other members of the community I'm throwing a welcome party. Get an all around view on the new Java release with various opinions, tips, and great sources!
Java 9 is out today and with other members of the community I'm throwing a welcome party. Get an all around view on the new Java release with various opinions, tips, and great sources!
Migrating to Java 9 is no walk in the park, but it’s not intractable either. If you know how to fix these seven most common problems, you’ll be able to power through and make your project Java 9 compatible.
Migrating to Java 9 is no walk in the park, but it’s not intractable either. If you know how to fix these seven most common problems, you’ll be able to power through and make your project Java 9 compatible.
JDeps is a dependency analysis tool for Java bytecode, i.e. class files and JARs. This primer teaches you how to use filters, aggregate results, and create diagrams.
JDeps is a dependency analysis tool for Java bytecode, i.e. class files and JARs. This primer teaches you how to use filters, aggregate results, and create diagrams.

Making sure the Java channel is chock-full of great content.
Making sure the Java channel is chock-full of great content.
Nachdem die Java-Welt Jahre lang nicht unbedingt einen Schwerpunkt auf Modularisierung legte – OSGi einmal ausgenommen –, tut sich in Java 9 mit dem JPMS einiges, was sich auf das gesamte Ökosystem auswirken wird.
Nachdem die Java-Welt Jahre lang nicht unbedingt einen Schwerpunkt auf Modularisierung legte – OSGi einmal ausgenommen –, tut sich in Java 9 mit dem JPMS einiges, was sich auf das gesamte Ökosystem auswirken wird.
Nicolai Parlog shows parameterized tests, a new feature of JUnit 5.
Nicolai Parlog shows parameterized tests, a new feature of JUnit 5.

My book about the Java Platform Module system, released with Java 9, is available as early access.
My book about the Java Platform Module system, released with Java 9, is available as early access.
Recorded at Jfokus 2017 Abstract: https://www.jfokus.se/jfokus/talks.jsp#ExpertJava8 Nicolai Parlog, CodeFX
Recorded at Jfokus 2017 Abstract: https://www.jfokus.se/jfokus/talks.jsp#ExpertJava8 Nicolai Parlog, CodeFX
Java 9 is coming and it is more than just Project Jigsaw (yes, I was surprised, too). In this talk you'll learn about ... nifty new language features new API...
Java 9 is coming and it is more than just Project Jigsaw (yes, I was surprised, too). In this talk you'll learn about ... nifty new language features new API...
Reflection wants to break into all code; encapsulation wants to give modules a safe space. How can this stand off be resolved?
Reflection wants to break into all code; encapsulation wants to give modules a safe space. How can this stand off be resolved?
Java's future is full of cool advances: data classes, value types, generics over primitives, pattern matching, etc. Let's peek into Java's future!
Java's future is full of cool advances: data classes, value types, generics over primitives, pattern matching, etc. Let's peek into Java's future!
Jump feet first into Project Jigsaw, a new tool in Java 9 that helps make your code more modular.
Jump feet first into Project Jigsaw, a new tool in Java 9 that helps make your code more modular.
After about 18 months and one and a half thousands reviews we’ve made some observations to share and some recommendations to make.
After about 18 months and one and a half thousands reviews we’ve made some observations to share and some recommendations to make.
Java 9 is coming! Besides Jigsaw it brings new language features and many new and improved APIs. This is the ultimate guide to all that's new in Java 9.
Java 9 is coming! Besides Jigsaw it brings new language features and many new and improved APIs. This is the ultimate guide to all that's new in Java 9.

Code monkey, know-it-all, community organizer
Code monkey, know-it-all, community organizer
JUnit, Java's most ubiquitous testing framework, is getting an update. Yes, JUnit 5 is a complete rewrite that decouples "JUnit the Platform" from "JUnit the Tool" and makes the platform available to other testing frameworks, which might very well redefine the future of testing on the JVM. More than that, it evolves the API and has a very promising extension model.
JUnit, Java's most ubiquitous testing framework, is getting an update. Yes, JUnit 5 is a complete rewrite that decouples "JUnit the Platform" from "JUnit the Tool" and makes the platform available to other testing frameworks, which might very well redefine the future of testing on the JVM. More than that, it evolves the API and has a very promising extension model.
You think your code is so clean that it doesn't need any comments? Or are your colleagues convinced that all comments are failures? Then this talk is for you...
You think your code is so clean that it doesn't need any comments? Or are your colleagues convinced that all comments are failures? Then this talk is for you...
You might have heard about Project Jigsaw in Java 9 but did you see it in action? This talk will walk you through the features and pitfalls while modularizin...
You might have heard about Project Jigsaw in Java 9 but did you see it in action? This talk will walk you through the features and pitfalls while modularizin...
Code Reviews should be brief, short, and focused. This one was neither but we put our heads together and turned it around. And with good results, too!
Code Reviews should be brief, short, and focused. This one was neither but we put our heads together and turned it around. And with good results, too!
The JUnit 5 architecture promotes a better separation of concerns than JUnit 4 did. It also provides a clear API for IDEs, build tools, etc to work with.
The JUnit 5 architecture promotes a better separation of concerns than JUnit 4 did. It also provides a clear API for IDEs, build tools, etc to work with.
Project Jigsaw is the hallmark feature of Java 9, the next major version release of Java, and is destined to bring modular programming into the Java mainstream. After years of negotiating and myriad JSRs and JEPs, Jigsaw is starting to take its final form. This tutorial considers all aspects of programming and migration to Project Jigsaw.
Project Jigsaw is the hallmark feature of Java 9, the next major version release of Java, and is destined to bring modular programming into the Java mainstream. After years of negotiating and myriad JSRs and JEPs, Jigsaw is starting to take its final form. This tutorial considers all aspects of programming and migration to Project Jigsaw.
You think your code is so clean that it doesn't need comments? Then this rant is just for you!
You think your code is so clean that it doesn't need comments? Then this rant is just for you!
Make Java even more fun! Well... or at least less painful. This is where I collect utilities that I need in other projects.
Make Java even more fun! Well... or at least less painful. This is where I collect utilities that I need in other projects.
With Java 9 comes Project Jigsaw - a modularization of the JDK - which will break existing code. An overview over the planned changes lets you see whether yours is affected.
With Java 9 comes Project Jigsaw - a modularization of the JDK - which will break existing code. An overview over the planned changes lets you see whether yours is affected.
Patterns for interface evolution with default methods: gradually add, replace and remove interface methods without breaking client code.
Patterns for interface evolution with default methods: gradually add, replace and remove interface methods without breaking client code.
Covering literally everything there is to know about Java 8's default methods.
Covering literally everything there is to know about Java 8's default methods.
Write intention revealing code with Java 8's new type Optional and prevent most NPEs. This is not optional!
Write intention revealing code with Java 8's new type Optional and prevent most NPEs. This is not optional!

Helping energy researches write the code that ran the models on which many EU energy regulations were based.
Helping energy researches write the code that ran the models on which many EU energy regulations were based.