Head-First-Design-Patterns icon indicating copy to clipboard operation
Head-First-Design-Patterns copied to clipboard

Code for Head First Design Patterns book (2020)

Results 28 Head-First-Design-Patterns issues
Sort by recently updated
recently updated
newest added

BPM display bugs in BeatModel.java Input bpm 100, click Set, then click Start. The view will display 100, but actually the bpm is 90. And some other cases of bpm...

The amplifier variable isn't actually used anywhere in the code.

state\gumball\GumballMachine.java Line 75: "No gumball dispensed" should be "You need to turn the crank" state\gumballstate\HasQuarterState.java Line 27: "No gumball dispensed" should be "You need to turn the crank" state\gumballstatewinner\HasQuarterState.java Line...

The book mentions on p. 336 that the "private void printMenu (Iterator iterator)" method does not need to be changed. I'm running Eclipse IDE Version: 2022-03 (4.23.0) and the interpreter...

A simple fix for the one-shot composite iterator bug reported in #25. The related discussion is available [here](https://stackoverflow.com/questions/66691393/iterating-over-a-composite), and full credit goes to @Sweeper777 for the solution.

I try to learn to use git and github at first.So fork your project and pull request.Just test.

Hi, this line here should be `garageDoor.down()` instead of `garageDoorup()`.

Hello I have added maven to have all the dependencies clear and also to add the configuration for eclipse and intellij IDE's. Regards.