The image in the attachment shows a cheap under 2 $ USB Hub which a friend was using today. All that i was amazed was that it had switches to control it, and this was the cheapest one i heard around while i paid even more to get one which had no switches in it.
Don't you think that switches aren't required for these at all?
The switches are required, but if you connect/disconnect things a lot they're very handy.
I use them during development and it saves constantly plugging/unplugging cables.
My question is why does a cable needs to be unplugged, when you can rather not use even it if plugged.
I guess the circuitry inside wouldn't be much complicated, with switches just closing and opening the power line. If that isn't the case, can somebody explain?
If you have I2C or serial components, you can get into trouble during program development. Depending on what's happening when you load code or press reset, you can leave a chip in a hung state and suddenly what was working perfectly now doesn't work at all. Getting a clean "power on" restart is a good idea sometimes.