No, he doesn't write that crap. The "song" is a very cleverly-fabricated joke. It's not actually music, so the claim that it's one or the other (write this or bang on the piano) is intrinsically flawed, making the YTMND both nonsensical and poorly-researched.
HollywoodH's recent comments: