So today had to go into a project and make a small change from a regular textbox to a Masked Numeric TextBox the control was for Phone Numbers to be used for a contacts object that is gotten and updated throughout the session and used in multiple other places in the web site. problem was is that the hungarian annotation had to be changed through out. Anywhere the object or session object was referenced. Also it was being placed into a local object in other places, so find and replace did not work for all those who were about to shout it. example:
TextBox alter_tbxPhoneNumber = (TextBox)Session["tbxPhoneNumber"];
This broke because the object was no longer a TextBox and therefore you can’t cast it to a TextBox nor can you place it into a TextBox object. If you’re a developer and you can’t mouse over a variable name to see what type it is or simply use getType then object orientation isn’t for you in the first place. Just my opinion though. Till next time don’t let your code have a meltdown.