Joomla definitly needs to demand a code standard fromt he component developers , as until now is just a carnival.
In Virtuemart for example to print a Thumb , 800 lines of redundant code is needed and is not at all OOP.
Unluckly is the best cart solution for joomla. And you will endup using it. but i dont recomend.