Tweeting is a great way to practice writing jokes, but there is so much more to comedy writing than just jokes. Jokes are a necessity, but you also have to learn how to write characters, to break a story, to keep coherence between episodes. I've learned more by being a TV writer than I ever could've on my own.