I know this is going to sound very self-serving, and I apologize for it, but if you can write comedy, you can pretty much write anything, because it's the hardest. It's the most technically demanding, the most precisely evaluated form of writing. People know if it works or not. There's a big button marked 'fail,' and that's when nobody laughs.