Folks often tend to dislike lawyers for merely doing their jobs in an adversarial legal system. That is their right. What is best is for judges to be exposed, particularly as to precedent making decisions, to the best possible arguments on both sides. That gives the judge the most information and tools to make the most wise decision. We in the guild are used to taking the heat, and are well compensated for it; this is not meant as a complaint.
It is said that to understand the law you have to get down into the law. If I need to hire an attorney, I would prefer one who has seen, worked and understood the matter at hand from all perspectives. This would be more important for a judge.