My opinion is that a law that should not be enforced uniformly should then not be a law at all.
Agree that jaywalking can be a threat to public safety. The law, as written, should account for that. "A pedestrian shall not cross a public road outside of a crosswalk intended for pedestrians, unless it is safe to do so." Yes, there's then a bit of wiggle room where a cop and jaywalker can disagree on what is and is not safe. But at least that's something you can argue in court, and the cop needs to argue why it wasn't safe, while the pedestrian needs to argue why it was.
As it is now, if you get a jaywalking ticket, you probably got one not because you were doing something unsafe, but because a cop didn't like how you looked; no cop is going to waste their time on a jaywalking ticket unless they have an axe to grind. But what is this pedestrian to do? Go in front of a judge and say, "Your honor, I know jaywalking is illegal, but everyone does it, I was doing it completely safely, and I think this cop has it in for me"? Right, like that'd work.
I jaywalk all the time and think it's mad that we have laws written strictly against it, even though I know those laws are rarely enforced. For me it doesn't matter; I'm financially comfortable enough that if, against all odds, I got a jaywalking ticket, I'd just pay it and move on. There are many people, some who might be more likely to be targeted by police, for whom that kind of fine would be a financial burden. Not to mention that taking time off work to go to court for it would be impossible.