Are All Dynamic Languages Typo-friendly?

Posted by yar on Stack Overflow See other posts from Stack Overflow or by yar
Published on 2010-03-11T22:12:23Z Indexed on 2010/03/12 0:37 UTC
Read the original article Hit count: 213

Filed under:

With Java on one side and Ruby/Groovy on the other, I know that in the second camp I'm free to make typos which will not get caught until run-time. Is this true of all dynamically-typed languages?

Edit: I've been asked to elaborate on the type of typo. In Ruby and in Groovy, you can assign to a variable with an accidental name that is never read. You can call methods that don't exist (obviously your tests should catch this, it's been said). You can refer to classes that don't exist, etc. etc. Basically any valid syntax, even with typographical errors, is valid in both Ruby and Groovy.

© Stack Overflow or respective owner

Related posts about dynamic-languages