Compiled & Tested Code In Javadoc - Inside Java Newscast #20

preview_player
Показать описание
Short code snippets in Javadoc are a great way to document an API, but they're brittle. JDK 18 / JEP 413 solves that problem by allowing us to reference snippets from external files that are compiled and tested.

0:00 ➠ Unpacking
0:55 ➠ Intro

1:42 ➠ Code in Javadoc
2:21 ➠ Code in Javadoc - Embedding External Files
4:38 ➠ Code in Javadoc - Possibilities
5:46 ➠ Code in Javadoc - For Projects on JDK 18-

6:54 ➠ Outro

Tags: #Java #OpenJDK #Java18 #Documentation #InsideJava
Рекомендации по теме
Комментарии
Автор

Ok, so the badge might be made from aluminum, which would explain why it's not magnetic. Still not the greatest piece of craftsmanship, but the thing itself doesn't matter anyway - the amazing part is the 103k of you out there! 😀

nipafx
Автор

Where can I get that black frame with the Java logo?

Автор

The boring features are usually the most exciting.

user
Автор

yet another feature from rust 😂 we need a borrow checker in java now

zqbthvk
Автор

Congrats on 6 developers that watch this channel!

lapissea
Автор

Not much for three billion devices run Java

Sergey