It depends on the person not the neighborhood.
Uber/Lyft is not a luxury in SF, you can get most places for under $15, not to mention you can split the cost with others when you travel.
Transit is horrible but if you live by BART, it’s 1,000,000% better. Train to where you’re going and Uber back home for $10.