lexicalunit ([info]lexicalunit) wrote,
@ 2007-02-23 15:13:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Nerds Laugh
The following made me laugh at work the other day.

I have a structure for storing data relating to dataType, product, streamIndex, etc... In the constructor I wrote out the parameters in shorthand b/c I'm lazy. So we have:

Structure::Structure(string adt, string ap, uint asi, ...)

Now my boss comes along and says he wants the structure to have a sort order independent of the key values, so he adds the data member string Structure::sortString.

When I pulled his changeset from the repository and looked over the code to see if he had done it correctly, I noticed he did a very good job of maintaining my code style in the changes he made, even in the constructor.

;)


Advertisement


(Read 1 comment)

Post a comment in response:

From:
Help
Identity URL: 
Username:
Password:
Don't have an account? Create one now.
Subject:
No HTML allowed in subject
   Help
Message:
 
Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…