Today I will discuss a curious collection of Java code snippets that do have surprising, amusing or simply confusing results. If you ever wanted to test your knowledge about Java, feel free to accept the challenge and come to this interactive session of puzzling pieces of code.
The presented examples are partly taken from the infamous books “Java Puzzlers” and “Effective Java” as well as from a backlog of interesting bugs that I have chased in the past. As a grain of salt, I also added a few findings about Java that came to my attention when building Xtend and the Java integration for Xtext in general. If you just keep digging, you cannot avoid the Balrog of Java semantics.
But the real question is: Are you brave enough to accept the challenge and come to this talk to solve a bunch of riddles?
Comments Sign in to post comments
experience level
Submitted by Kai Hudalla on Tue, 2019-07-16 11:54
Given the description of the content I would think that this session is indeed more suitable for an audience with at least an intermediate level of Java experience, don't you think?
Re: experience level
Submitted by Sebastian Zarnekow on Tue, 2019-07-16 11:59
Thank you for the feedback. I changed it accordingly in the metadata.