~/talk

Java Puzzlers S03

Talkat JavaDay Ukraine 2017 · 2017-11-04..11-05· [java]
links:none on file
slides:none on file

Live puzzle set walks through concrete gotchas and shows the actual surprising outputs: module-info.java context-sensitive keywords can make obviously-named identifiers illegal only in certain positions; a ternary between null and 42 forces boxing/unboxing and produces a NullPointerException at runtime; short shifts promote to int cause infinite loop when bit-truncation hides changes; double-to-short conversion goes through int so infinities map to min/max then to unexpected shorts; string + char with a unary + prints numeric codepoints. Demos use audience voting and IntelliJ inspections as a fix.

AI-written summary · about

  1. 0:00Welcome
  2. 10:46Java 9 modules puzzle
  3. 16:06Puzzle with thinker and answer 42
  4. 22:37Bitwise operations puzzle
  5. 29:13Type conversion puzzle
  6. 34:35Superheroes and comparator puzzle
  7. 41:00Method parameters puzzle
  8. 42:48String concatenation puzzle
  9. 46:26Groovy ranges puzzle
  10. 50:51Object comparison puzzle
  11. 54:53Summary and tips
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.