logo       

Re: Xarray try #2: msg#00011

Subject: Re: Xarray try #2
On Tue, 15 Apr 2003, Nicolas Cannasse wrote:

> Excellent, but since this is an "advanced feature", I suggest that you move
> the resizers to the end of the mli, so they will appear at the end of the
> documentation.

No problemo.  The only reason they're first is that they're that way in 
the .ml file.

> 
> > - The .mli file now has doc comments!  Yay!  The .ml file still needs to
> > be commented.
> 
> Does it really needs ?
> I don't especially like comments in source files, they are only needed when
> you're doing something very difficult to understand...

I have been surprised at what is "intuitively obvious" one day, and 
"completely inexplicable" sometime later.  While I don't think there is 
any 'inexplicable' code in this source file, I'm a firm beleiver in better 
safe than sorry.

> 
> > - Length is the length of the actual underlying storage array, used is the
> > number of elements in that array actually being used.  I've decided on
> > that nomenclature, and started sticking by it.
> 
> Let me disagree on it :)
> Since users are used to use the "length" keyword for both Array and List, it
> would be better to have "length" being the number of elements and "size"
> being the underlying structure size.

Agreed.  And this should be mentioned in the documentation.

> 
> Last thing : renaming Xarray to Vector ?

I *hate* the name vector for resizable arrays- I do too much LinAlg.  A 
vector is a specific mathematical concept, which while it can be 
implemented as an array doesn't have to be, it can be some more 
complicated datastructure.  Consider sparse vectors.  While I'm willing to 
admit that Xarray isn't the best possible name, I like it better than 
Vector.

Brian




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe