The Epic Groovy Puzzlers S02: The revenge of the parentheses
summary
A live set of Groovy puzzlers demonstrates concrete gotchas: the range and method-call binding changes result types unless fixed with parentheses fix binding; GStrings can contain closures that are GString closure evaluated at runtime so interpolations run later; multiplying a string by a number repeats it (string times integer repeats), list-literal construction can call HashMap constructors (initial capacity surprises), property access can recurse into StackOverflow, and removing during iteration produces fragile ConcurrentModification behavior.
AI-written summary · about
chapters (10)
- 0:00Groovy intro and talk
- 3:35Puzzler rules and format
- 7:10Alphabet range operator puzzle
- 11:22String interpolation and closures
- 15:38Number of the Beast puzzle
- 22:56Highlander-inspired puzzle
- 30:26Pirate map constructors
- 37:16List element collection
- 46:36Concurrent modification exception
- 53:45Conclusion
related talks
40mThe Epic Groovy Puzzlers S02: The Revenge of the Parentheses
01h 31mGroovy and Grails Puzzlers - As usual - Traps, Pitfalls, and End Cases
01h 00mGroovy Puzzlers — Strange, Unclear, and "Mom, What Is That?!"
56mGroovy Puzzlers S03 – Groove Like a Groovemaker!
57mJava Puzzlers S03
40mJava Puzzlers, Strange Loop Edition
49mJava Collections Puzzlers
45mUnlocking Java's Code Maze
