DEV Community

Discussion on: Do you code on the weekend? How often, what’s your routine like?

Collapse
 
natonathan profile image
Nathan Tamez

I do Personal projects and stuff. Every weekend to be honest.
my routine is EAT SLEEP CODE REPEAT

Collapse
 
r7e98kva profile image
Markus

Repeat?
Recursion in a while loop?

Collapse
 
kennycoc profile image
Kenneth Cochran

Could be ala clojure.

(loop
  (eat)
  (sleep)
  (code)
  (if (alive?)
      (recur)))
Collapse
 
natonathan profile image
Nathan Tamez

haha, thanks it should be

// Recursion in a while loop Bug fix
day(){
    eat();
    sleep();
    code();
    if (alive)  day();
}
Collapse
 
jack profile image
Jack Williams

Codeception, I love it

Collapse
 
rifaimartin profile image
Rifai Martin

Game ?

Collapse
 
natonathan profile image
Nathan Tamez

I don't nearly as much as I used to or a would like to. Always something to do, like work or personal projects as I'm still in uni/college. I also left my game PC at my place at uni, so only have my MacBook pro. as much as I love OSX , games don’t play nicely with the hardware (good specs but lack of cooling) or OS. but sure let's add game().

// adding game(), and ditching recursion for a while loop
while(alive){
  eat();
  sleep();
  code();
  game();
}