Don't buy a german keyboard, dude. They are awful. I'm getting myself a US keyboard as we speak, because coding is impossibly stupid on german keyboards. Not just Apple's, though.
You can still use alt-A/O/U für the ÄÖÜ characters. And you don't break your fingers while accessing the braces.
For non-german typists:
( = shift-8
[ = altgr-8
{ = altgr-7
on german keyboards.
And so on. It's programmer's hell.