As I understand it, you are asking whether there is a Julia option (e.g. a 
runtime flag) that will cause Julia to throw an error if you try to parse 
code where local variables are not explicitly declared, analogous to "use 
strict" in Perl or "implicit none" in Fortran.    There is no such thing in 
Julia, and I don't recall seeing any discussion of the possibility.

(Requiring the programmer to explicitly declare all her variables is a 
little alien to the Julian style, so I'm guessing there might be some 
reluctance to implement this in the core language.  You could easily 
implement a Lint-like package to check for this requirement, though.)

Reply via email to