On Macro Naming Conventions

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. 😉

Published by Allyn

A writer, editor, journalist, sometimes coder, occasional historian, and all-around scholar, Allyn Gibson is the writer for Diamond Comic Distributors' monthly PREVIEWS catalog, used by comic book shops and throughout the comics industry, and the editor for its monthly order forms. In his over ten years in the industry, Allyn has interviewed comics creators and pop culture celebrities, covered conventions, analyzed industry revenue trends, and written copy for comics, toys, and other pop culture merchandise. Allyn is also known for his short fiction (including the Star Trek story "Make-Believe,"the Doctor Who short story "The Spindle of Necessity," and the ReDeus story "The Ginger Kid"). Allyn has been blogging regularly with WordPress since 2004.

Leave a Reply

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