News for hackers. Stuff that matters.
Re:How Arel Converts Ruby Queries into SQL Statements by vidarh on Wednesday July 01, 2015 @07:55AM (#9811250)
But in the GoF visitor pattern, the "case statement" is in fact centralized in one place: In the class implementing the visitor.

And of course you can have the equivalent in C++/Java and similar languages, but that would lose the main benefit of having the completeness of the visitor statically checked (In other words, you can write dynamically typed code in any language some way or the).

There are no comments on this comment yet.