School Archives

Jul 30, 2015

I Walk This Recursive Road…

So today was recursion day, which no matter how many times I learn it, is usually a bit of a headache. Today though I do think it went a little smoother than usual, partially because:

1) I think this is my 3rd or 4th time going through it so I’d like to think I’m a little better every time,

2) also the same kinda problems show up (Fibinocci, exponents, mergesort, etc) so I should at least be able to remember something, haha, and

3) Ruby/pry actually makes it pretty easy to follow the stack calls when things go awry.

More details…

Posted in aA, Tech
Discuss (-)
Jul 30, 2015

Recurse This

For once, a day with ample time to complete all the projects, and even tackle the bonuses! The GHOST word game and greedy implementation of “breaking and entering” seemed fairly straightforward to code, and we were able to make each of their methods very neat and efficient–either we’re getting better or today’s projects were somewhat easier.

More details…

Posted in aA, Stress-Induced, Tech
Discuss (-)
Jul 29, 2015

And on the Second Day of a/A, My True Love Gave to Me…

2 projects in one day! Tiring! But at least we managed to get through both the Sudoku checker and the connect-4 game by 6pm. Connect-4 had some not-very-pretty methods, though we refactored the diagonal_winner checker to be manageable. Our straight_line checker may have been a little more convoluted to understand, but I do like that it was operationally less exhaustive, aka more “optimized” (Instead of considering all possible 4-space slices, it only looks at what is actually in the board.)

More details…

Posted in aA, Tech
Discuss (-)