SF public transportation is limited in its geographic coverage and the fact that it's not 24 hours. And that sucks. But San Francisco is also a much smaller city then Madrid, New York, Chicago, and the other places listed. Add a couple more million people to SF, South SF, and East Bay, and you can bet that public transportation will improve.