Home cooked food is always better than restaurant/ready to cook/junk food provided you are good at cooking, choose high quality ingredients, cooking oil, fresh vegetables/meats.
In restaurant food, they use average ingredients, low quality oil, taste enhancers, artificial colors etc.
Junk food is always laced with high sodium and fat which is not a healthy choice.
When you cook at home you customize it as per your liking however if you eat at a restaurant, you get what is profitable for them and what sells there so no one on one connect with their food.
Though that does not mean we should not have food in restaurants. There are quality restaurants everywhere which specialize in particular cusiens. Once in a while we should go out and pamper ourselves by visiting restaurants.
Article Credit : Quora.com