I can decide if I want to drive to McDonald's or to the grocery store to buy some vegetables or other healthy ingredients to prepare a more balanced meal. The first is obviously easier and kinda more convenient but if you look at what it does to your health then maybe not so convenient at all.
What I'm trying to say is that for example I used to love Coke and even drank some for breakfast. I'm not the typical coffee addicted developer but I pumped myself with energy drinks instead. After my brother forced me to get my sugar levels throughly checked this year I saw that I was close to be diagnosed with diabetes and figured that there is no other way than to change my diet.