Part5
summary
Argues that XML is deprecated for configuration and that heavy XML in Java adds accidental complexity; shows Ant creator James Duncan Davidson abandoning XML tools. Demonstrates replacing a Struts XML snippet with a Groovy Builder that emits identical XML while using variables so maxCount and minCount maintain a fixed difference (example: countDiff = 4), eliminating copy‑paste and enabling refactoring. Shows a Ruby DSL where property declarations auto‑generate getters/setters at class load time.
AI-written summary · about
chapters (8)
- 0:00Intro
- 0:50XML
- 2:00Late Binding
- 3:00Why XML
- 3:25XML Bad Features
- 4:20Aunt
- 5:10XML is deprecated
- 7:50Context
related talks
01h 25m#NoXML: Eliminating XML in Your Spring Projects
01h 23mSpring Framework: The Ultimate Configurations Battle!
49mOn @annotations - liberate yourselves from demons
44mMastering Resilient Java API Design: From Principles to Practice
46mWe wrote a DSL in Spring and stepped on the rake
35mWhat makes Groovy a great scripting language
14mTypeless Writing in a Strong Typed World
01h 31mWriting AST Transformations - Get Practical in 90 minutes
