In college, where I majored in English, I thought I'd have an adventure and take a class in programming. They taught us C++. I never tried programming again.
the appropriate language for any given situation is largely dependent on the environment you're writing for. writeroom is a macosx program, so it's overwhelmingly likely that it was written in objective-c. you can google up beginner's guides all day long.
Say I was foolish enough to try again on my own. Say I wanted to write my own version of Writeroom: http://www.hogbaysoftware.com/products/writeroom
What language would I want to learn, and is there a good beginner's guide?