- 1 current stop: learning
- 2 upcoming
- 3 upcoming
- 4 upcoming
- 5 upcoming
Finish after stop 5
Stop 1 of 5 · Metro ticket hall
Trick to keep in mind+3 XP
A settings class is a form with required fields: bad input is refused at the door.
Binding a whole prefix to one typed record groups related settings in one place. Adding @Validated checks the values during startup, so a negative multiplier stops the app before any passenger meets it. Binding still happens at boot, so changing a value means a restart, not a live reload.
Read it once, then a question tests whether the trick stuck.