Awful programming tip

When working in project with many collaborators and a gigantic code base, define global functions with names very similar to standard library functions. Oh, and of course use the same inputs and return type.

Implement the function to do the same thing as the corresponding library function. Then, after a while, change the implementation to something similar but not quite the same as the original function.

May I suggest strpcy?



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: