The hammock was actually better for rough seas than a bunk. In rough weather, destroyer escort crew found themselves trying to wedge themselves in their bunks, often failing, and often wearing a set of bruises to prove it. Surfaced submarines suffered the same indignities. This happened in both oceans.
See Little Ship, Big War by Commander Edward P. Stafford.
Bob