I also enjoy Q. Having unlimited control of space, time, and matter allows him to do anything and everything for a quick joke or gag.
Also, I've always believed that Q's role was to prepare humanity for it's eventual ascension into Godhood. Introducing the Borg to the Federation while they were still so far off was a way to ensure that humans didn't fall to the Borg.