Localbitcoins is the best for me to buy bitcoins but it will also depend on which country you live and which site is good and friendly for you but if you have an option to buy it from localbitcoins then you can trust that site blindly and I am sure you will never get scammed.
Hackers were found everywhere. But as the above mate said localbitcoins is a secure place for making our trades. It gives the convenience of purchase depending upon our necessity and the transaction possibility. Also it helps with listing of traders quoting different price margin. Can buy the one we can afford.
Actually why localbitcoins is safer because they use escrow services and when you sell bitcoins you can release your bitcoins only when you get confirmation that money has been transferred to your bank account and if not you can start a dispute there and in that case no trader will wish to put his reputation at stake as its a full time business for him.