Noticed how Java errors are moving towards runtime in recent releases?
Take for example the printf and its formatting syntax... where most of use were rejoicing when this good old C feature finally made it to Java.
However, a typo in the format string will not be caught be the compiler, but only by a runtime exception.
Similar situation with annotations, since they all have their configuration or parameters in syntactically unchecked strings. No compiler support for typos.
Tuesday, February 06, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment