Tuesday, September 7th, 2010

On Macro Naming Conventions

0

Let’s suppose you needed a macro for Microsoft Word that went through a document, found everything that was colored red, and turned it black.

What would you name such a macro? A sensible person might called it “RedToBlack.”

A less sensible, more poetic soul might call it “PaintItBlack.”

Said less sensible, more poetic soul might also have a message box pop up as the macro begins. Said message box might display the message: “I see a red door and I want it painted black.”

Said less sensible, more poetic sould might then have a message box open when the macro is finished. Said message box might display this message: “No colors anymore, I want them to turn black.”

Because, of course, sometimes even lowly macro writers just need to have fun. ;)

Share
[Ask] [Bloglines] [Blogsvine] [del.icio.us] [Digg] [Facebook] [Google] [LinkedIn] [Ma.gnolia] [MySpace] [Reddit] [Slashdot] [Sphere] [StumbleUpon] [Technorati] [Twitter] [Yahoo!] [Email]

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!