Where'd you learn how to sail?
The actual sailing bit isn't really very difficult. If you have a basic understanding of physics, you'll soon grok it. Navigation is a bit more involved, but not for a programmer, especially if you've done any GIS coding and remember your basic geometry. Oh, I also had to do a very simple radio exam.
Now picking the right boat, that is difficult as hell ;-)