Oddly this is one of the things factory farms try to do better. From what I have heard, because they don't have time to deal with spooked cattle when killing so many of them, the whole killing area is designed so they don't know what's coming until the last moment.