in reply to Re^4: Syntax checking without BEGIN blocks
in thread Syntax checking without BEGIN blocks
True. However, if the code doesn't pass a basic syntax check, I don't need to waste my time deciphering it. I know it doesn't run. If it is code that's syntactically correct, something might be using it...
If I'm not worried about the code doing anything dangerous then there is no difference to me between a compile-type error and a run-time error. Both will show up in my test suite.
If I am worried about the code I'm going to have to understand it - whether it is "syntactically" correct or not.