java-basicsshare & followShare this post with your community:I'm active on various platforms. Watch this space or follow me there to get notified when I publish new content:▼s+fShare this post with your community:I'm active on various platforms. Watch this space or follow me there to get notified when I publish new content:Advanced "Java 101"#talk#java‑basics #on‑ramp #communityJava's success as one of the most used programming languages in the world comes in no small parts from its approachability but what may have been an easy entry into programming in the mid 90s, appears laborious today and so, in recent years, Oracle and OpenJDK have worked to improve the situation.2024-10-15Java 21 Pattern Matching Tutorial#video#java‑21 #pattern‑matching #java‑basicsJava 21 is the first Java release with all essential pattern matching features finalized: sealed types, type patterns, an improved switch, records, and record patterns. This tutorial puts them all together.2023-09-17Script Java Easily in 21 and Beyond - Inside Java Newscast #49#video#java‑basics #on‑rampTo give Java and programming beginners a better learning path, JEP 445 proposes to allow stand-alone main methods that are non-public, non-static, and don't have an args array and we're also JEP draft for multi-file programs2023-05-25What is OpenJDK? - Inside Java Newscast #28#video#openjdk #community #java‑basicsWhat's "OpenJDK" (or "the OpenJDK"?), how does it work, and what does it do? Here's the answer to these questions as well as explorations of JDK Enhancement Proposals, the Java Community Process, why there are so many JDK providers, and how long-term support works.2022-06-30Type Pattern Matching with instanceof#post#java‑16 #java‑basics #pattern‑matchingType patters with instanceof are Java's first step towards pattern matching. Motivation, syntax, details, and future applications - here's all you need to know.2021-02-23Pattern Matching in Java#post#java‑basics #pattern‑matchingJava takes its first steps towards pattern matching but the topic is much larger than instanceof. Goals, terminology, flow scoping - these apply to all kinds of patterns.2021-02-16Java Generics I - The Basics#video#java‑basics #genericsFirst part of a short series on Java generics - this one explains the basics2020-04-28Definitive Guide To Switch Expressions In Java 13#post#java‑13 #java‑basics #switchJava 13 finalized switch expressions. Together with a new lambda-style arrow syntax, this makes switch more expressive and less error-prone.2019-08-16Definitive Guide To Text Blocks In Java 13#post#java‑13 #java‑basicsJava 13 introduces text blocks: string literals that span multiple lines. Learn about syntax, indentation, escape sequences, and formatting.2019-06-19Java 11 HTTP/2 API Tutorial#post#java‑11 #java‑basicsTutorial for Java 11's new HTTP/2 API with HttpClient, HttpRequest, and HttpResponse at its center. Shows synchronous and asynchronous request handling.2018-10-15JUnit 5 Basics: @Test, Lifecycle, Assertions, Assumptions, And More#post#java‑basics #junit‑5 #libraries #testingThe Basics of JUnit 5: How to use @Test, @BeforeAll, @BeforeEach, @AfterEach, @AfterAll, assertions, and assumptions. How to disable, name, and tag tests.2018-08-05First Contact With 'var' In Java 10#post#java‑10 #java‑basics #varJava 10 introduces the var keyword, which lets the compiler infer local variable types. Here's how var works, why it exists, how it impacts readability.2017-11-16Code-First Java Module System Tutorial#post#java‑9 #java‑basics #j_msTutorial of Java 9 module system basics: declare modules with module-info.java, compile, package, launch them, learn of module path and readability graph.2017-10-03Unified Logging Of JVM Messages With The -Xlog Option#post#java‑9 #java‑basicsJava 9 introduces unified logging, a central mechanism configurable with -Xlog to observe class loading, threading, garbage collector, module system, etc.2017-09-27A JDeps Tutorial - Analyze Your Project's Dependencies#post#java‑basics #j_ms #jdeps #toolsJDeps is a dependency analysis tool for Java bytecode (class files and JARs). Learn how to use filters, aggregate results, and create diagrams.2017-07-17How To Implement hashCode Correctly#post#java‑basicsSo you wrote a nice equals implementation? Great! But now you have to implement hashCode as well. Let’s see how to do it correctly.2016-06-13How To Implement equals Correctly#post#java‑basicsA fundamental aspect of any Java class is its definition of equality. It is determined by a class's equals method. Let's see how to implement it correctly.2016-06-06JAR Hell#post#java‑basicsA list of the problems that make up JAR hell (classpath hell, dependency hell) and how they relate to development tools like Maven and OSGi.2015-10-19Everything You Need To Know About Default Methods#post#default‑methods #java‑8 #java‑basicsCovering literally everything there is to know about Java 8's default methods.2015-01-15Multiple Return Statements#post#clean‑code #java‑basicsAn argument for using multiple return statements in a method (as opposed to adhering to the single return myth).2014-12-03Concepts of Serialization#post#java‑basics #serializationA close look at serialization and a presentation of some key concepts of Java's serialization system.2014-10-26