while pandering to your audience is bad you _do_ need feedback - so a catch 22. If you have a chance to play with ideas with a couple of other writers/comedians who take the process serious, feedback worth gold because nothing beats bouncing your ideas off one another. the other route is to try to do it all by yourself like Stewart Lee who is imho a comedy god - but it requires insane levels of dedication, self-control and tenacity to get there (alone). Whether you're into comedy or not, Stewart Lee's "Content Provider" (imho) is a must watch for anyone who thinks about digital media (most people who reads HN).
one of my favorite sources on how to constantly be creative (not just in in the space of comedy) is John Cleese and Keith Johnstone's "Impro".
 https://www.youtube.com/watch?v=uovt1sC3rtM&list=PLWsk2FPzPs... (sharing this list feels wrong because jokes on stage live on back-references to previous jokes so much is lost)