Can't for the life of me remember any actual instance of him actually "whining" or "moaning" about anything really and honestly and he received basically the same amount of guidance that every version of Batman received (That's basically what Alfred's there for in every version). I also don't remember him talking about his code or even intentionally killing anyone.
As far as Batman's so-called "no killing code" goes I think people see it as a very black and white line....but if you look at how Batman actually behaves it's much more a "shades of grey" code.
I recall him saying " I'm no executioner." in BB. Interesting, because he then blows up the ninja school, which certainly killed some of the ninjas.
I guess if you take him literally, he didn't execute them - I.e. he doesn't kill people in cold blood or with direct intention - but his actions lead to their deaths, which he could probably foresee ( although he was under a bit of pressure at the time).
The one person he does absolutely kill in TDK is Harvey Dent - even though his real intention is to save Gordon's boy, he almost certainly knows Dent won't survive the fall. So that's indirect intention, which is sufficient for a murder charge - but self defence ( as defence of another) would almost certainly apply.
In TDK he also talks about his "one rule" which we assume is the " no killing rule" - which is what makes the Joker's reply "killing is making a choice" so brilliant.
Now here's a long time Bat Peeve of mine
which relates to the asinine "No more dead cops comment". It goes like this:
The Joker wants Batman to accept responsibility for Rachel's death, but of course this is the false logic upon which a big part of Batman and the Joker's relationship is based - that Batman is responsible for the people Joker kills - in this case Rachel.
Before we all wring our hands and look disappointingly at Batman, let's just take a second to think about that premise - because it is completely wrong. The person responsible for the deaths the Joker causes is....the Joker. It's not even that Batman fails to prevent them, it's that he's put in the position of having to try to save them by the Joker - who's crazy.
If the ferries had actually exploded, that would have been on the Joker. Sure, Batman would have been haunted by the failure, but he's like that - it's still not his fault.
The "No more dead cops!" comment, IMO is Nolan taking a poke at how reactionary and stupid the public sometimes are in their response to crime and terrorism. It sounds stupid in the film because it's meant to.
Anyway, back to my original point Nolan Batman's code isn't really "no killing" it's more like:
"I won't intentionally take a life, unless I have to in order to immediately save another life ( including my own), and
I will allow my enemies to die if they are facing potentially lethal circumstances ( even if I creates those circumstances)and I can't save them or don't want to."
Well something like that.
In comparison Keaton's Batman blows up Axis chemicals with Joker's goons inside - presumably killing all of them, and he's in no personal danger. Later he strafes the parade and guns down a bunch of goons - although they are firing guns over the crowd.
Food for thought eh !