News for hackers. Stuff that matters.
Re:Rust is surprisingly expressive by steveklabnik on Saturday December 28, 2013 @03:04PM (#6976202)
As I mentioned in the post,

> Now, I should say that I almost never use 2.days, but the point is that it’s a benchmark of expressiveness: if you can write it, you can do all sorts of other flexible things.

I tend to use MiniTest, not RSpec. But I'm very glad RSpec can be built.

Re:Rust is surprisingly expressive by danneu on Saturday December 28, 2013 @04:49PM (#6976783)
I use https://github.com/sconover/wrong with MiniTest which might qualify as another example of Ruby "tricks" to achieve a different interpretation of expressiveness.

The result is the ability to express

    assert { :apple == :orange }
    assert { [:apple, :banana, :pear].include? :orange }
and let the computer figure out the appropriate error message and expected-vs-actual diff.