Article View: comp.os.linux.development.apps
Article #36Re: Netscape releasing Source
From: Nick Andrew
Date: Wed, 28 Jan 1998 00:00
Date: Wed, 28 Jan 1998 00:00
49 lines
2858 bytes
2858 bytes
In <6akhoq$7d8$1@news.cs.tu-berlin.de> js@cs.tu-berlin.de (Joerg Schilling) writes:
>In article <6ahlmj$amk$2@janis.virago.org.au>,
>Rachel Polanskis <r.polanskis@nepean.uws.edu.au,grove@zeta.org.au> wrote:
>>A good Linux programmer is a portable UNIX programmer.
Linux is a dream to program compared to some of the stuff I've had to
work on (e.g. SysIII, SysV, SunOS 4.x). While I believe Rachel's coming
down too hard on Linux "reinventing the wheel" I also believe it's
important for programmers to understand the _standard_ - the interface
between the programming language and the system.
So read POSIX.1, POSIX.you-name-it and various other specifications
until you understand what's important therein.
>But these programmers are rare. At least if they learnd UNIX with Linux.
The man pages in sections 2 and 3 are pretty good. For example, look at
this fragment from open(2):
CONFORMING TO
SVID, AT&T, POSIX, X/OPEN, BSD 4.3
Now look at this fragment from setfsuid(2):
CONFORMING TO
setfsuid is Linux specific.
With suitable documentation it isn't hard to learn what is Linux-specific
and what is Unix, even if you only have Linux man pages for your docs.
>Linux documentation and the Linux include file system makes it hard to become
>a good programmer by only seeing Linux code. Most programs that have been
>developped on Linux are hard to port to other UNIX flavours.
Nah. Using "the source" and then writing applications is the wrong way.
The right way is to read the man pages before writing code, and only
use "the source" if you think you found a kernel bug (really unlikely) or
you just can't figure out why your program behaves as it does.
Linux is no different to any implementation of Unix in that it has hundreds
of files under /usr/include which can be included anytime, but which should
usually not be.
Nick.
--
Zeta Internet Fax: +61-2-9233-6545 Voice: 9837-1397
G.P.O. Box 3400, Sydney NSW 1043 http://www.zeta.org.au/
Technical Details
Message-ID:
<6aknk3$p53$1@gidora.kralizec.net.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<m167ncxowr.fsf@lehrer.nlcomm.com> <slrn6clkkp.bob.cbbrowne@knuth.brownes.org> <34CB2E71.A180F508@netscape.com> <6ahlmj$amk$2@janis.virago.org.au> <6akhoq$7d8$1@news.cs.tu-berlin.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c696,bee6fda7c6ae773 X-Google-Attributes: gid10c696,public X-Google-Thread: 11035d,8013bee0f76c1ab9 X-Google-Attributes: gid11035d,public X-Google-Thread: 102983,8013bee0f76c1ab9 X-Google-Attributes: gid102983,public From: nick@zeta.org.au (Nick Andrew) Subject: Re: Netscape releasing Source Date: 1998/01/28 Message-ID: <6aknk3$p53$1@gidora.kralizec.net.au> X-Deja-AN: 319684101 References: <m167ncxowr.fsf@lehrer.nlcomm.com> <slrn6clkkp.bob.cbbrowne@knuth.brownes.org> <34CB2E71.A180F508@netscape.com> <6ahlmj$amk$2@janis.virago.org.au> <6akhoq$7d8$1@news.cs.tu-berlin.de> Distribution: inet Organization: Zeta Internet, http://www.zeta.org.au/ Newsgroups: comp.os.linux.development.apps,comp.unix.solaris,aus.computers.linux