What to do with unused pins

If you leave unused pins unconnected and unprogrammed, they default to (input, low). In this state the pin may float at a voltage that is neither high nor low, which slightly increases the current consumption of the input buffer. Unless you're using the sleep mode of the processor, you probably won't notice the difference. Programming unused pins as (input, high) to enable the internal pullup avoids the issue. So does programming them as outputs.