Wish List: Compiler Warnings

A good example is the IsCMMClick method.  I’m not sure how long we’ve been told it’s going away, but I just discovered that it’s gone in RB 2008 beta program.  So instead of giving you a warning, the compiler just says “This method or property does not exist.”

In my opinion, this is not desirable behavior.  In the ideal world when they made the decision to deprecate it, the compiler should issue warnings.  These warnings would say something like, “Warning.  The method ‘IsCMMClick’ is being deprecated.  Please use ‘IsContextualClick’ instead or the ‘ConstructContextualMenu’ method of the control.”

Since I don’t want to jeopardize my status in the beta program that’s all I’ll mention.  There are other technologies that are being removed as well and these messages would be helpful.  I don’t propose keeping the messages forever, just that the decision has been made to remove them and you need to move onto the something else.

Perhaps I’m missing something, but it doesn’t seem like it would be that hard to add to the compiler and IDE.  Nearly every other compiler I’ve ever used has issue warnings that often tell you that something is out of date.  So why not REALbasic?

What do you think?