[svlug] how to allow a user to ftp but not login?

Chris Waters xtifr at dsp.net
Thu Jul 6 21:33:17 PDT 2000


On Thu, Jul 06, 2000 at 06:55:23PM -0700, Joey Hess wrote:

> I wouldn't characterize either of his complaints as being insurmountable
> problems with the design. They were:

> | It's one of the worst attempts I ever saw to achieve
> | OO design in plain C.  As usual with this approach, passing arguments
> | to the "virtual" functions is awkward, and the code that actually does
> | it is sloppy at best.

> If the pseudo-OO-C coding style is a fatal design flaw, everbody had
> better ditch GNOME. :-)

Um, the quote doesn't claim that all OO-style coding in C is bad, it
claims that this particular instance is bad.  I've seen both bad and
good examples of OO in C myself, and the worst *I've* seen was very
very bad indeed.  All-but-unmaintainable, and extremely fragile.  I
don't know how proftpd's code compares, because I haven't looked at
it, but if it's anywhere near as bad as some code I've seen, the
appropriate thing to do is flee as quickly as possible.  :-)


It's even possible (and I've seen it done) to write really really bad
OO code in C++!  The language isn't necessarily the issue.

Heck, I've even seen readable perl!  Anything is possible if you're
determined enough.  :-)
-- 
Chris Waters   xtifr at dsp.net | I have a truly elegant proof of the
      or    xtifr at debian.org | above, but it is too long to fit into
                             | this .signature file.




More information about the svlug mailing list