Some very good information in here and some totally bogus.
For almost all twist, it is how you coil a line. A Figure-8 coil, or an alternate hitch coil will fix 90% of all twists.
Winches do NOT continuously add twists to the line. They can't. The geometry does not allow it. You wrap four turns around the
winch, and you put four twists in the line. You unwrap the same four twists, and guess what? Those twists reverse themselves. It certainly makes absolutely no difference if the
winch is self-tailing or not. There are a few cases where if you let the twists go roll off the end of the line, that they can add up, but this is rarely the case with halyards.
When I was doing my Captain's
License course, I got in a friendly argument with my instructor (A former USCG Bosun) about how to coil lines to avoid twists. We settled the argument in the parking lot by coiling lengths of flat webbing where the twists can be easily seen. Figure 8 coils (or alternate hitch) are the way to go. If you are coiling lines where both ends are free (like
dock lines) it doesn't matter that much, since twists can easily fall off the ends. If one end of the line is fixed, like a sheet or
halyard, it matters A LOT.