Geez Malibu: I could write a book on your question and it is a good topic of conversation. Although I don't practice criminal law, I know more than the average bear about it.
People must remember that a lawyer is their "mouthpiece", so to speak,and has an ethical duty (as an officer of the court) to zealously represent their client's interests. Once the deed is done and prosecuted, that's it, so the Judge was not out of line. A lot of trials depend on the Judge, the jury, the effectiveness of the attorney's trial experience, the accused's credibility and demeanor, and so forth.
As a civil trial attorney, "hammer time" for me is in my closing argument. That is just my preference. It really boils down to the ole dog and ponny show.
Back to criminal matters: two very high profile criminal cases have taken place here in California in the last several years and currently: OJ Simpson and Scott Peterson. I think OJ did it, but got off (due to a dumb jury and good lawyers). I also think Scott Peterson is guilty of killing his wife and unborn son, but not intentional conduct. Apparently, his jury agreed.
So, the shows go on...