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

Home » Public Forums » archive » Re: Object epiphany: A new way of building widget applications
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: Object epiphany: A new way of building widget applications [message #24613 is a reply to message #24566] Thu, 05 April 2001 11:55 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
JD Smith <jdsmith@astro.cornell.edu> writes:

> Martin Schultz wrote:
>>
>> Hi all,
>>
>> With almost a week delay, I finally get around to release the first
>> version of a new class of IDL objects: the MGS_GUIObject hierarchy.
>
> I think it only fair to let people know that I tend to shy away from
> distributed code with people's initials in the name. I know, it sounds
> stupid, but I'm not sure I'm the only one. It seems to be a reasonably
> common practice here (Craig, you listening?), but one which I think
> might be best to avoid, for the following reasons:
>
... remainder deleted ...

Hi JD--

I understand what you are saying, but I think you are a little too
harsh in criticizing other people for how they name their functions,
especially when Martin's code is as cool as it sounds.

I for one do not mind using other people's code which has their
initials on it. As has been pointed out before, this helps keep the
name spaces separated. We've had enough problems where RSI bonks into
user-code with their proprietary or internal functions, that using a
little something special appears legitimate to me.

As for my own code, I don't follow any strict naming rules. Generally
speaking I tack a "CM" on when I am duplicating the function of
somebody else's code (CMPS_FORM, CMHISTOGRAM), or where there is a
*potential* for a later clash (CMAPPLY).

Sometimes it's just a namespace issue so I can keep the functions
sorted in my brain (all of the MPFIT functions are based on MINPACK,
hence the "MP" on the front).

Lastly, when I know that procedures will be typed from the command
line I try to make them short and sweet. I picked the "DX" commands
to be short, and also because "D" and "X" were near each other on the
keyboard. Ergonomics baby!

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RE: 2D optimization for registration
Next Topic: Yes, there are tab widgets!

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

Current Time: Sat Oct 11 01:45:49 PDT 2025

Total time taken to generate the page: 0.87868 seconds