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.

;)



(1 comment) - (Post a new comment)


[info]bigreddot
2007-02-25 05:53 pm UTC (link)
You should tell him he has a nice....

(Reply to this)


(1 comment) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…