I found SF to be much worse than DC. Got a ton of tickets in SF.
They still have the old laws in place from when people mainly drove sticks, where if your wheels aren't turned in to the curb on a hill over a 3% grade you will get a ticket. They still enforce that law. And it's hard to notice a 3% grade hill, but the parking enforcers know which ones they are.
Not to mention the every other day street cleaning that never actually happens but they'll ticket you for.
And the parking spots that are a lane at rush hour.