There's no strong public transit in DC either.
There's the Metro, which occasionally kills people due to terrible maintenance, but it's only really useful for DC proper. There's not many tech jobs in DC, they're all outside in northern VA or southern MD, quite some distance from downtown DC. And those places are not well-served by Metro at all; basically there's some giant park-and-ride centers where commuters can drive in, park ($$$) and ride ($$$) the subway to their job in downtown DC. This isn't useful at all to people who actually work out in the suburbs in places like Reston VA (near the airport) or Manassas VA or Laurel MD, which are popular places for tech companies.
From what I've seen on my visits to San Diego, I'd say the situations are pretty comparable actually. Terrible, terrible traffic, and terrible public transit outside the city center, and all the tech companies are nowhere near the metro center.
On top of all that, the other problem in the DC area is that almost all the tech jobs are defense-related, so if you're not interested in that industry (or in working on projects that drag on and on for years and basically never get anywhere, and definitely aren't anywhere near the cutting edge of technology), DC is not the place for you.