Re: Request for comment on my tiny learning project: dfighterdb (mytree)



dfighter said:

Han from China wrote:
dfighter wrote:
dfighterdb (I started it as mytree), is a tiny and simple
console based "database" application I'm writing as a learning
project.

If it's tiny, you may as well post the source code to the group.

Well, well, well. Even a stopped clock is right twice a day.

This has at least two advantages:

(1) Some people are unable or unwilling to check external links
or to unzip archives, so you've already lost their help.

(2) WWW links die all the time, but your posts will have a
relatively permanent existence in various Usenet archives.
There's a chance someone who's writing a similar application
could happen upon this thread years from now and want to know
what everyone in the thread is referring to.

Unfortunately it's not that tiny. It's only relatively tiny (~900
lines).

That's pretty tiny - okay, quite a large tiny, but nevertheless well
within Usenet limits (put LONG in the subject line as a warning to
the modem users amongst us, and you're covered). This isn't IRC.

(1) That's very unfortunate.
(2) You have a point, however I can always choose not to delete it
from the website ;)

Sometimes that isn't within our control. When I moved ISP, I left a
number of pages behind that I can no longer maintain. Worse still,
they're still there, so few people realise that the pages are no
longer maintained.

I hope this won't happen again (not because I won't move ISPs again,
but because I now do my own hosting, with Web forwarding).

ANYWAY - I did actually look through your code. I didn't have time
for a full review, I'm afraid, but before I realised this I did
spot a few minor conformance issues (the one I remember being
leading underscores on identifiers) and a design consideration (as
a matter of robustness you might want to take T** in your
destructors, rather than T*, so that you can set *p to NULL when
you're done).

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.



Relevant Pages

  • Re: Request for comment on my tiny learning project: dfighterdb (mytree)
    ... you may as well post the source code to the group. ... relatively permanent existence in various Usenet archives. ... There's a chance someone who's writing a similar application ... My suggestion is to put your struct definitions in source files, ...
    (comp.lang.c)
  • RE: Value of Copyright
    ... State limitations in usage, state clearly that some parts shipped belongs to ... I've discussed the subject with customer a couple of times and they backed ... out of the idea of buying the source code when I told them that once the ... I have been asked to quote for writing a VB program for a potential one time ...
    (microsoft.public.vb.general.discussion)
  • Re: Writing text at an angle on a VB Form
    ... (without source code, of course) ... authors of the Windows font smoothing technology that is included with Win98 onwards or somene ... else who perhaps provides you with a third party solution) has to do the work for you if, ... you are incapable of writing the code yourself. ...
    (comp.lang.basic.visual.misc)
  • Re: Where do i start?
    ... Try looking at some of the C source code examples associated with an ARM ... > I am wanting to migrate to ARM and and wanting to start writing in C ...
    (comp.arch.embedded)
  • Re: Can I Decompile asm to cpp source code
    ... >>Is ther any decompiler to make cpp source code from asm code. ... > Writing a good decompiler is at least as much work as writing a good ... Since there's an n:m relationship between source code and object code, ... blocks of instructions), the output is severely incomplete relative to the ...
    (comp.lang.cpp)