I'll agree that when Hyundai first started selling cars in the United States, they were genuine pieces of junk. However, I'm old enough to remember when Honda first started selling cars here they were also pieces of junk.
Hyundai has made major quality control improvements and are now one of the better rated cars on the road. If I ever were to buy a new car again, I'd take a Hyundai over a Honda without batting an eye.
As far as any German built car (Mercedes, Audi, BMW, or VW), I wouldn't waste my money unless they "gave" me the best warranty available free of charge along with a guaranteed loaner car for when it's in the shop.