The visual editor in WordPress is generally very good and helpful, but if you have code or special formatting on some of your posts, the visual editor can sometimes screw up the formatting.
This little snippet solves that by defaulting to the text (HTML) editor every time you open a post, while retaining the ability to use the visual editor if needed.