This week in Comp Sci was a momentus occasion: the introduction of the "while" loop. It lets you do things ad infinitum, except you only want to do it to a certain constraint. Infinite loops scare me though. Honestly, it makes me feel claustrophobic from my chair, because the finality of it being infinite feels like there is no escape. I guess that with time and a little help from jGrasp I'll get over it, but right now that seems like a scary thing to me. The only upside is that I still haven't written one! Ha! Hahahahahahaha! It's only a matter of time though...
int x=0;
while (int x==0){
System.out.println("I will not write infinite loops");
}
No comments:
Post a Comment