Skip to content

Repository files navigation

Wat? That’s possible in Java?

Examples for my talk about things you can do to surprise others.

Over ten years ago, Gary Bernhardt gave a lightning talk called “Wat.” Gary gave Ruby and JavaScript examples that were funny and surprising for most of the audience. As everyone has strong feelings about/regarding their favourite language, this quirky stuff can only be found in other languages and not yours, right? Wrong! In this session, we will look at Java examples that surprised me the first time I saw them. And we will discover why and how they work. You will learn something useful and new even though this talk is not completely serious.

Recordings

The talk was recorded at Devoxx 2025 and JCON 2025.

Running the examples

Because some examples requires JVM flags you can use ./run <Example>.java to run it.

About

Examples for my talk about things you can do to surprise others.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages