My first travel to SF was in 2010 and last one in 2018. In the 2018 trip I wasn't comfortable walking in the market street to get back to my hotel in the evening (I was staying in Hyatt Regency). Maybe I got older and more fearful for my safety, but that is a personal experience I have with SF.