Based on the work I've done on my girlfriend's '07 Accent I would never even consider buying a hyundai. Simple crap like changing a license plate bulb on that car is a total chore. BMW's are some of the easiest cars to work on imo as long as you're patient and do your research. That said, yes, they didn't require a bit more money and a bit more regular upkeep than your average economy sedan.
(Please pardon my auto-correct)