Hello World. It's me, Ariel.

Yeah, that never gets old.
Aug 9, 2015

Happy Fun Times with RSpec

…more like how I never knew how good I had it, blithely debugging code with pry and byebug, until I was introduced to the severely more structured and demanding RSpec. I mean, I totally understand how it’s useful and certainly, a well-written rspec file can serve as documentation for your program, but it uh takes some getting used to. And to write a really thorough and complete rspec, with testing of edge cases and all that, is tedious, I think anyone would agree. But yes I can see why it’s important to know it, and as a project grows, having well-documented rspecs would definitely increase robustness.
More details…

Posted in aA, Tech
Discuss (-)
Aug 6, 2015

Checkers = Restaurant Chain?

First solo day today! Hah it’s strange to think that I used to think pair programming was unusual; now it’s days like today, our first non-pair day, that feel different. However it was nice having my very own(!) keyboard and mouse.

The assignment was to create a Checkers game (apparently, according to Wiki, “English draughts”). It was a really good review of methods and concepts we had covered over the past couple of days, and was pretty straightforward after Chess and Minesweeper.

More details…

Posted in aA, Tech
Discuss (-)
Aug 5, 2015

Thrilling Chess 2-Parter

8.4: Started implementing Chess today! From an early age, I’ve always been intimidated by Chess, so never really tried tackling coding it before, but now I see it’s not too bad. (Of course, I’m just talking about the mechanics–the strategy could go on and on. And we’re not really implementing the more idiosyncratic moves, so there’s that.) It’s a nice exercise in Class hierarchy as well, since all the pieces naturally inherit from each other. We even got Unicode to display in our render method, so the board looks semi-legitimate, though the symbols are so small that it’s hard to tell them apart, haha.

More details…

Posted in aA, Tech
Discuss (-)