I also vote for a laptop. Even if you add an external keyboard you don't have a mouse and you would be taking your hand off the keyboard to fool around on screen --- very inefficient.
Tablets are a convenience for consumption, they are great for the quick web or video fix if you can afford multiple devices. But they are not computer replacements. Don't believe that "post PC age" hype. If you can only buy one, get a laptop.