Muse back!

October 18, 2005 / Tuesday

Blob Blob Blob

I am known to create veryDescriptiveAndSometimesTooLong variable and method names.

I make exceptions, however, for Blobs. Why create aDescriptiveNameForABlob when you can name it ...

theBlob

?

October 18, 2005 07:36 PM | Geek

Comments

Use taglines from the movie(s) and you can still have long variable names:

terrorHasNoShape

screamNowWhileThereIsStillRoomToBreathe

itCrawlsItCreepsItEatsYouAlive

Posted by: LisaK at October 19, 2005 09:32 AM

I now have to find an excuse to write a multiblob method, just so I can use those names. :-D

Posted by: Viv at October 19, 2005 10:22 AM

I love veryLongAndDescriptive data and method names. Why the heck not? You can just cut & paste it in; it's not like we're still using punch cards, for heaven's sake!

(yes, I have used punch cards)

Posted by: Jennie at October 19, 2005 09:17 PM

Bless you! *throws rose petals*

As a non-programmer, but someone called upon to edit Lisp routines for Autocad related stuff, I swear if I see another variable like blkqedfaz in a piece of code I may go nuts. Why can't people use something like "yesthisisthevariablethatstoresthedatabaseentityyouneed" ? Especially if you don't put in comments.

I realize there are constraints on variable names in some languages, but jeez.

Posted by: Mike at October 20, 2005 12:44 PM