Comparing two custom ActionScript classes
I have a custom employee class in my Flex that has name, badge number, phone number, etc, etc. In the form to update it, I want to only actually do to the database if the record was changed. The save function takes the existing record and the new record with changes and shoves it to ColdFusion, who generates an email with the before and after states.
I could have disabled the "save" button if the record isn't changed, only giving the user a "close" button. But there are a lot of fields on the form and more are being added in the future. I don't want some giant function that determines if the before and after employee objects are different, comparing one attribute at a time.
So I went to the kitchen cabinet and got some serial.

