As an attorney, when I hear the statement that the car came "out of nowhere," what I hear is that the person so exclaiming was not paying attention or maintaining a proper look out. The law requires all drivers to exercise due care and maintain a proper look out, particularly so when pulling out of a parking lot or turning onto a different roadway, because in that position, the driving turning or pulling out has an obligation to yield to drivers already on the roadway. This means that if there is a bend in the road or some other obstacle obstructing your view, you should exercise the level of caution necessitated by those particular circumstances and proceed in pulling out with all due caution. Unless there are witnesses to attest that the other vehicle was operating in an unsafe manner (texting, talking on the phone, driving at an excessive speed, in the wrong lane) or the car skidded or level of impact otherwise demonstrates that the vehicle was operating in an unsafe manner, the presumption will be against you as the driver having pulled out onto the roadway.
Cars do not come 'out of nowhere,' thus it is up to you to ensure that you have looked far enough down the road and intelligently surveyed the scene before pulling out. If there is a bend in the roadway, then perhaps a vehicle could appear from around the bend at the precise second that you choose to pull out - in such a case, you must pull out with sufficient vim and vigor to ensure that you can safely clear such a potential hurdle. If something is obstructing your view, then you should slowly creep the vehicle forward and or onto the shoulder of the roadway until you have a clear view and are more certain that the roadway is clear for you to pull all the way out.