In a recent podcast on songwriting it was mentioned that writing music slightly behind the beat works well for ballads or sad songs while writing music slightly ahead of the beat works well to move the song forward. Something new that I'd not yet heard, and they talked about playing in the pocket, a new term for me.