I wouldn't say that Germany learned "all the wrong lessons", there was probably more of an effort to critically examine history in Germany than in most other countries who still revere the times when their own atrocities happened.
However, Germany did two things wrong, they learned an overly specific lesson "never again should Germans do something this horrible to Jews" rather than "never again should any group or individual do something this horrible to any other group or individual" and the emphasis was also often more on remembrance rather than examining how it started and how we can prevent the same thing from happening again.
Meanwhile most other countries seems to have skipped even that little bit of effort and gone with the comforting "look how evil Germans are, this could happen in our country of good people (TM)".
I would say better effort than most countries but still not enough to push it all the way through to the lesson all of humanity needed to learn.
Well, okay, I can see how it would be useful in languages like Java that are extremely verbose and have a low expressiveness. Writing Java pretty much was already IDEs with code generation 20 years or so ago because nobody wants to write so much boilerplate by hand.