A "hub" is the most basic device for connecting multiple computers. Traffic sent from one computer in the network to another goes to the hub which sends it to all connected computers and lets them sort out what goes where.
A "switch" is more "intelligent" in that it sends traffic from one computer only to the intended destination computer. Other networked computers don't see packets which were not intended for them.
I wouldn't have thought there would be any merit in using a hub in preference to a switch.