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.
I had the shortness of breath and the visual disturbances of loss of central vision. The headache came about 36 hours later. I have avoided coffee and sugar for 5 years. Prior to that I took coffee and sugar regularly and have always lived with these breathing problems and headaches even as a child.