https://github.com/krainboltgreene/learn-you-the-ruby-for-aw...
79 karma · joined March 29, 2010
@jonsmock
https://github.com/krainboltgreene/learn-you-the-ruby-for-aw...
However, I know I personally work best when I focus on one thing, or at most two. Seems like you have too much on your plate, so I would recommend cutting something as soon as you reasonably can.
Also, this is a neat example to show how novices/beginners learn how to program. They don't think about conditionals operating on booleans, the result of an expression like (1 == 2). And, they overall just seem to treat booleans differently. Seems silly once you've internalized it, but I'm sure we all make this realization while we're learning.
If people are looking to poke at you, they'll do it, but otherwise, I'd say, yeah, it's a reasonable observation/opinion.
Yeah, a lot of times you're using the same keywords you might use in SQL, but the new chainable extensions are really nice for building up queries and reusing common chunks (either in LINQ or in Rails 3)
I should note that this new relational syntax is provided by a library called Arel (http://github.com/nkallen/arel)