comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Name of arrays
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Name of arrays [message #79264 is a reply to message #79260] Sun, 19 February 2012 08:00 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Israel Rodriguez Hermelo writes:

> Why did you say that's a slippery slope? Is there a better solution?
> I'm already using it with no problems.

I see a lot of people who are just getting started with
programming wanting to name their variables like this.
It seems cool, but in the end it just leads to unmaintainable
programs. A variable is a variable. The variable named "a" is
just as good as the variable named "b". Yes, variables should
have good names in programs. But just give them a name
(e.g., "theseMonths") in the program module where you need them.
Don't go looking for them all over God's creation!

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: tracking clusters through multiple timesteps
Next Topic: Issue with console of workbench 8.0

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:48:14 PDT 2025

Total time taken to generate the page: 0.00402 seconds