Text Blocks - JEP Café #5

This #JEPCafe discusses JEP 378: Text Blocks, released with the JDK 15. Text Blocks allow you to write strings of characters spanning several lines of your source code and without having to escape most of the special characters. ⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯ 0:00 Intro 0:30 Comments, questions and feedback welcome! 0:53 Introducing JEP 378 2:31 Previewing features in the JDK 2:45 Introducing Text Blocks 3:08 What you can do with Text blocks 4:08 What you cannot do with Text blocks 5:00 Text blocks and String interpolation 6:07 Writing your first Text block 7:04 Dealing with code formatter indentation 8:19 Dealing with line feeds 10:14 Outro ⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯ ◦ The website ➱ ◦ How to use the preview features ➱ ◦ JEP 378: Text Blocks ➱ ◦ Programmer’s Guide To Text Blocks ➱ ◦ JDK 17 ➱ https
Back to Top