Re: Why leave the error handling to the caller?




"Roland Pibinger" <rpbg123@xxxxxxxxx> wrote in message news:467cffc0.7076515@xxxxxxxxxxxxxxxxx
On Sat, 23 Jun 2007 11:05:40 +0100, "Malcolm McLean" wrote:
"Richard Heathfield" <rjh@xxxxxxxxxxxxxxx> wrote:
But I don't have any problem depending on /good/ code. Do you?

Yes. I am currently writing BabyX purely to avoid depending on Motif. Motif
is a far better toolkit than I could write, but I don't have it installed on
my machine. I can get it, but then that will mean that everyone who wants to
play about with my program will have to do the same. So I took the decision
to depend just on Xlib, hence BabyX.

So your users will depend on your BabyX instead of Motif? There's a
fine line between what you do and NIH syndrome.

Sure. But BabyX will ship as C source files bundled with the rest of the code. So just typing gcc *.c will build it - admittedly you have to link in Xlib, which took me about an hour to figure out how to do, and OpenGL, which was easy, just -lGL will link it. If it is another hour to figure out how to link in Motif, people won't do it. The users are mainly biochemists who do a little bit of programming, not, like me, programmers who have learnt a bit of biochemistry.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm

.



Relevant Pages

  • Re: Why leave the error handling to the caller?
    ... I am currently writing BabyX purely to avoid depending on Motif. ... If it is another hour to figure out how to link in Motif, ... The users are mainly biochemists who do a little bit of programming, not, like me, programmers who have learnt a bit of biochemistry. ... Then I write a makefile and others don't need to even bother with that. ...
    (comp.lang.c)
  • Re: Why leave the error handling to the caller?
    ... I am currently writing BabyX purely to avoid depending on Motif. ... If it is another hour to figure out how to link in Motif, ... I then tried to compile with a toolkit, ... I looked around to see what was available, but whilst there are a few GNU toolkits out there, such as the one used to build the GIMP, it is a performance to download and install each one. ...
    (comp.lang.c)
  • Re: Why leave the error handling to the caller?
    ... I am currently writing BabyX purely to avoid depending on Motif. ... is a far better toolkit than I could write, but I don't have it installed on ...
    (comp.lang.c)
  • Re: Motif
    ... > Is this the right place to ask queries on Motif programming on Linux. ... But saying that Motif is the "Linux GUI" is about as true as saying ... perfectly well on numerous platforms, ...
    (comp.os.linux.development.apps)
  • Re: null terminated strings
    ... used for any serious programming project. ... C was meant to be a systems programming language. ... C seems to work well for large projects such as MOTIF for instance. ...
    (comp.os.vms)