News for hackers. Stuff that matters.
Re:Why I Like Ruby by draegtun on Friday July 16, 2010 @10:09AM (#1521183)
Unfortunately though you are potentially adding subtle bugs here which can only be caught at run time.

To avoid excessive test coverage it would be more pragmatic to do:

  backtrack = (consequence.signifies? :block_end) ? false : true
But that's not as easy to read :(
Re:Why I Like Ruby by mahmud on Friday July 16, 2010 @12:27PM (#1521599)
I didn't reply to that one-liner because it is a one-liner.

A lot of software engineering lore crumbles into tautologies or is completely obviated when you're working at the microscopic level.