
Yeah. Notes. Nonsense.
Battleships!
Actually building stuff is cool! Trying to work in a team is a little more daunting. Though, obviously good to talk things through with people. As ever, seeing new ways of thinking is great. Also, you leanr some things about yourself. Apparently I babble in groups, and gesture uncontrollably as I get more involved in a problem. Admittedly, this makes me a little hard to understand, which isn't always that helpful. Still, we muddled through. Learning to work with other people is always going to be important. Way more useful to try to get used to it. And, you know, talking to other people and being understood...
Evgeny has abondoned us. Hearts are heavy.
You can reopen existing classes and edit set methods. So much potential for danger... So much power...
I quite like Sudoku puzzles. This may not be true by the end of the next two weeks.
Every method in Ruby takes a block, which, ok, I guess makes sense... But like so many things here takes a few checks to really sink in. Won't actually do anything unless called, though, which makes things somewhat moot...
You can chain methods onto ends, which seems like the kind of thing King Readability would banish you for...
If you want functionality without having to write the code yourself, you can just use a Gem. Include the name of the gem in a gemfile (and where you want to nab it from) and run bundle install and you'll get it. That simple. Which is pretty amazing, actually - there's a massive open source community for Ruby all helping each other out in a really easy and massively powerful way. Thanks all!
Recursion is probably fine. I say this because pretty much all I have in my notes are a test sudoku and:
"When I look back, and wonder why I have no notes on recursion, I need to look at the previous page and ask if I really needed to do that sudoku"
So, yeah, it turns out testing sudoku solving is hard unless you can write the perfect sudoku for each test. That's actually really hard. Probably harder than understanding recursion (it's basically a loop - make sure you have a base case and you're usually fine). Almost definitely worth it.
I don't like the idea of not being able to actually use this week's challenge project, so I'm building an interface for it. And having scrapped it together once, I'm now using my weekend to actually test drive it. I think this is still sane. Anyway, it's so much more satisfying when you can actually use the projects you make. I know I'm making progress, but it's always nice to have proof automatically texted to you (until Twilio deletes your account without notice (later reinstated, kinda, but still...)). The code's all from the Student Directory from back in the first couple of weeks, but the satisfaction's all new.
That's your lot for this week. Happy Chinese New Year.