Touch the firehose of ds106, the most recent flow of content from all of the blogs syndicated into ds106. As of right now, there have been 92416 posts brought in here going back to December 2010. If you want to be part of the flow, first learn more about ds106. Then, if you are truly ready and up to the task of creating web art, sign up and start doing it.

General Info

Posted by
|

Computer Science up in this bitch.

For my CPSC 401 class, my partner Dan Bowen and I have to host a webpage for our experiences with the functional language Clojure (runs off of the java virtual machine).  We haven’t done much reading or tested much of it out as of yet, but as we begin our work we will post items to include code, journal entries, and any other requirements we may have.  Since it runs on the JVM…maybe we’ll find a way of writing some code that will actually have an effect on this page?  We’ll have to wait and see : D

for the meantime:

bool hungry = true;

comfort eat(food){

if (food.getAmount() > 0){

eat(food);

}else{

hungry = false;
return;

}

}

int main(){
food = new Food(inFridge);

while(hungry){

/*look for food*/
if (find(food)){
eat(food);
}else{
/*sad*/
eat(nothing);
}

}

Toodles,
Crazylegs

Add a comment

ds106 in[SPIRE]