There are plenty of relatively safe neighborhoods in Oakland: the Central District (where I live), Jack London Square, Lake Merritt, Claremont/Rockridge, Temescal, Piedmont, etc. East Oakland is where the crime is generally centered. Generally, the closer to the hills or the lake you are, the nicer it is.
Best advice I can give if you have any doubt is to ask a local police officer.
You're just as likely to be murdered in San Francisco, and statistics really don't mean shit except scaring people like you. The number of people being murdered in drug violence and other crimes has a very negligible impact on the probability of a mid-twenties software developer getting murdered.
It's extremely amusing how much people worry about being killed by thugs in places they've never been, when they're far more likely to be killed by a dumbass texting on 580.
Guess humor/sarcasm doesn't always come across when written. I lived in downtown Cleveland for a year or two and while Oakland has worse crime statistics it's probably not too much worse. There was someone murdered on my doorstep when I lived there, but I still generally felt safe. It is something to be cognizant of. Even in the good parts of town, I'd hesitate to be outside alone at night, which isn't a concern I have where I live now. And there are parts of town that I wouldn't venture into at all much like anywhere.