2009-01-26

le_bebna_kamni: (Dalek)
2009-01-26 12:18 pm
Entry tags:

Fun with Recursion

I've been trying to learn Python, because despite my growing love for Ruby and Rails, it seems that in order to have fun at the cool kids' table I can't avoid it. ;P

Matt Arnold has provided me with the perfect opportunity to learn Python, because he's also learning it in parallel with his Intro to Java class. He brings home his assignments, writes them in Java first, and then rewrites them in Python. I check out his assignments and translate them into Python as well.

His most recent assignment just begged for a chance to test Python's recursion capabilities. The project, my code, and an interesting problem... )

All in all, a fun problem to solve. I'm rather enjoying making simple programs more complex than necessary simply for the sake of breaking and fixing things.

Footnote )
le_bebna_kamni: (Default)
2009-01-26 08:42 pm
Entry tags:

The Sexiest Thing Ever Said to Me

"I want you to bear my brainchild."
   -- Matt Arnold, after a demo of a playing card program I'm currently writing
And the least sexiest thing said to me:
"It's all because you blow my mind...and you swallow."
   -- also by Matt Arnold, just so I don't get too cocky.