Using assertions helps developers write code that is more correct, more readable, and easier to maintain. Thus, assertions improve the odds that the behavior of a class matches the expectations of its clients. Note that assertions can be compiled out. In languages such as C/C++, this means using the preprocessor.
Yes eating to much sugar can give you headaches. Maybe its time for you to go and get your blood tested to make shire its not to high or to low. Older you get the more you have to watch what you eat, its not like you can eat everything like you did when you were younger. Good Luck.
The symptoms of sugar withdrawal can include headaches, fatigue, depression, drowsiness, skin eruptions, and mucus or throat discomfort. Some of these symptoms, especially the mood swings, fatigue and drowsiness, can occur on a daily basis as the blood sugar rises and falls on a high-sugar diet.