I think the point is that that is not necessarily true for all hash functions, since reordering your example with SHA1 renders it weaker.
If I understood correctly sha1(sha1(secret) + message) is not safe, because from that hash you can calculate sha1(sha1(secret) + message + ANYTHING)