Deutsch   English   Français   Italiano  
<va44rh$3p1l6$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 09:26:41 +0200
Organization: A noiseless patient Spider
Lines: 63
Message-ID: <va44rh$3p1l6$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
 <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
 <way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
 <choices-20240413123957@ram.dialup.fu-berlin.de>
 <v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
 <20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
 <v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
 <va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 21 Aug 2024 09:26:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f1f84c8ef38500396b4e29280e06726d";
	logging-data="3966630"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+tkNsVpHY7cbXxwd8Bw9h+t1UuUJWQ1oM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.11.0
Cancel-Lock: sha1:y92emwcmrdGbaSDc9N0yLzxTOtw=
In-Reply-To: <va2vt0$3h3gj$1@dont-email.me>
Content-Language: en-GB
Bytes: 4987

On 20/08/2024 22:56, Kalevi Kolttonen wrote:
> In comp.unix.programmer David Brown <david.brown@hesbynett.no> wrote:
>> No, you do not need your particular favourite out of the thousand and
>> one Linux programming books in order to program for Linux.  You do not
>> need /any/ book in order to write useful and successful code for Linux.
>> Of course you need /some/ reference - and in the days before the
>> internet was so easily available and so full of information, I went
>> through a lot of programming books.  Some were good, some less so, and
>> some have become famous.  But none of them were /necessary/ in any way.
> 
> Well, I am a quite bad programmer but I am interested enough in the
> Linux/UNIX workings so that reading the newest APUE and The Linux
> Programming Interface did not feel painful or unnecessary at all. On
> the contrary, it was a great pleasure to examine what kind of
> programming facilities my favourite OS offers.

I have no doubt that this could be interesting to read about, and the 
book could be very well written (I don't know the book myself, so I'll 
take your word for it).  At least half the computing and programming 
books I have read covered things that I have no use for personally, and 
don't expect to use.

So I don't question that it is interesting, informative, or a pleasure 
to read.  I question that it is /necessary/.  You simply cannot argue 
that people who want to program for Linux /must/ read that book.  There 
is no justification for that claim.  There is no justification for 
claiming that people wanting to program for Linux need to read any books 
on the topic at all, nor for claims that people need to "know POSIX" to 
be able to write code for Linux and/or in C.

> 
> Having these two books, or just one of them, is a great way to educate
> oneself about Linux/UNIX. I see that The Linux Programming Interface
> is available online as a free PDF, but I am not sure whether it is
> a pirated version.
> 
> There is no better way to learn Linux/UNIX workings than these two
> books. Period.
> 

That claim is not /wrong/ - it falls into the category of "not even wrong".

There are a thousand and one ways to learn about the workings of Linux - 
and that's counting "reading books" as one way, regardless of /which/ 
books.  You have personally tried one way - from that, you cannot 
possibly conclude that it is the "best" way.  All you can say is that 
you liked those books, and found them informative and pleasant to read, 
you learned a lot from them, and you can recommend them to others. 
That's great.  Leave it there, and stop making completely absurd, 
exaggerated and unjustified claims beyond that.

And you don't need to know about the workings of Linux to program for Linux.

And you don't need to know anything about Linux, UNIX or POSIX to 
program in C.  I've programmed C for some 35 years, and almost none of 
it has been for Linux or other *nix.  I've used only a small fraction of 
the standard library.  Even the few programs I have written that run on 
Linux had no POSIX-specific code.  What you need to know about for any 
programming task is the stuff appropriate for the task at hand - /not/ 
comprehensive knowledge of APIs and interfaces that you will never use, 
and certainly not some ancient random book recommended by someone off 
the internet.