in

Funny Source Code Comments

Funny Source Code Comments

This seems to stop morons from messing my code…

// Autogenerated, do not edit. All changes will be undone.

share

edited Sep 14 ’10 at 22:26

funny code comment

// When I wrote this, only God and I understood what I was doing

// Now, God only knows

// I am not sure if we need this, but too scared to delete.

// Dear maintainer:

//

// Once you are done trying to ‘optimize’ this routine,

// and have realized what a terrible mistake that was,

// please increment the following counter as a warning

// to the next guy:

//

// total_hours_wasted_here = 42

// somedev1 – 6/7/02 Adding temporary tracking of Login screen

// somedev2 – 5/22/07 Temporary my ass

// Magic. Do not touch.

useless funny code comment

// NOTE: This isn’t particularly efficient. Too bad!

// It’s hard to do efficiently owing to all the import conversion

char temp[512];

char temp2[512];

CUtlBuffer buf( temp, sizeof(temp), CUtlBuffer:: TEXT_BUFFER |

CUtlBuffer:: EXTERNAL_GROWABLE );

cutlBuffer buf2( temp2, sizeof(temp2), CUtlBuffer::TEXT_BUFFER I

CUtlBuffer:: EXTERNAL_GROWABLE ); pAttribute-›Serialize( buf );

What do you think?

Written by codeitbro

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings