Theocacao
Leopard
Design Element
Comment on "Sanity Checking for Scripting Languages"
by Scott Stevenson — Dec 24
methods that don't even exist (via method_missing)

Objective-C does most of the stuff you mention, even though it's a compiled language. You can have it both ways (or pretty close). I'm not looking for it to find every single problem, just the obvious typos and whatnot.

Ruby gave was about as good as any you'd get in a C compile-time check: "No such method or variable: 'photo'"

Well, sort of. The error mentions "ActiveRecord::ConnectionAdapters::MysqlAdapter," which doesn't tell me a lot about where to look. If it mentioned the file in question (maybe it can't), that would be helpful. Maybe a trace would have helped.
Back to "Sanity Checking for Scripting Languages"
Design Element

Copyright © Scott Stevenson 2004-2015