Re: Python (was Re: I did not inhale)

Liste des GroupesRevenir à cu shell 
Sujet : Re: Python (was Re: I did not inhale)
De : david.brown (at) *nospam* hesbynett.no (David Brown)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.misc
Date : 20. Aug 2024, 20:45:13
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <va2ro9$3gd7v$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Mozilla Thunderbird
On 20/08/2024 16:21, Kalevi Kolttonen wrote:
In comp.unix.programmer David Brown <david.brown@hesbynett.no> wrote:
On 16/08/2024 17:02, Kalevi Kolttonen wrote:
In comp.unix.programmer Kaz Kylheku <643-408-1753@kylheku.com> wrote:
On 2024-08-15, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Thu, 15 Aug 2024 19:48:36 -0000 (UTC), Kalevi Kolttonen wrote:
>
The last I checked, the O'Reilly Python book is just absolutely
*MASSIVE*. The language has a huge number of features now ...
>
No, it hasn’t. The core language reference spec is only a small fraction
of, say, the Java language spec.
>
It’s just that you can do so many things with Python. And that is down to
the huge variety of off-the-shelf addon libraries that build on that core
language spec. It has to be a strong, very solidly founded core in order
to be such a versatile basis for these addons, and it is.
>
That's idiotic; you're saying that the standard library packages of
Python are not part of Python, and do not contribute to its size.
>
You seem to have a point. The core of C language is also small. I
guess they even said in the original K & R book that C is a small
language best described by a small book.
>
But in order to do anything with C, you need to know the standard
libraries. They have grown bigger and bigger during all these
years. One could also well argue that to program on UNIX, you also
need to know all the POSIX libraries.
>
>
Absolute nonsense.
>
In order to use a programming language for a given task, you need to
know the basics of the language and libraries appropriate for the task.
You most certainly do not need to know all about the language, or all
about all the libraries provided as standard for the language or the
host OS.
 I would not label it as "absolute nonsense".
OK, let's say "pretty much nonsense" instead.

In order to program on UNIX,
you need to be familiar with the facilities that are available. I
know of a very smart man who ended up as a professor of physics who
programmed on Amiga back in the 1980s. Even though his PhD thesis
was something like 100-150 pages of strange-looking formulas, he said
he had problems with C on the Amiga. For some reason, he was unable
to remember what functions where provided as standard libraries, so
he always ended up writing his own functions instead of using libraries.
 To know Linux, you need Michal Kerrisk's book the Linux Programming
Interface. I have this book, but admittedly you are kind of right:
It is large and I do not know every single part of it, but I have
studied it a lot and I am familiar with the most important features.
 
You need to know what you need to know in order to handle the task in hand.
If you are writing a program to convert json files to xml files, you need to know enough about the interface to open, read and write files, and to manipulate strings and other data structures in the language of your choice.  If that is C, for example, you need to know about 5% of the standard library, at most.  You need to know a /tiny/ fraction of POSIX.  The same goes for any other language you choose to use, and any other program you choose to write.
Unless you are working with huge pieces of software with connections to large parts of the system - say, a Windowing system - you don't need to know about more than a very small part of the OS interfaces.  Unless you are writing a compiler, standard library, or other big development tool, you rarely need to know more than the basics of a programming language along with parts specific to your tasks.
And for most modern software written to run on general-purpose OS's, people use languages where you haven't a hope in hell of understanding the entire language and its standard libraries, never mind the common frameworks and libraries that are often used.  You have /zero/ chance of knowing all of the system APIs and common library interfaces of your OS - there are not nearly enough hours in the day for that.  But you don't need any of that - you learn and use the language features and libraries that are appropriate for getting the job done.  (And often that is all cross-platform - little or no POSIX-specific stuff in sight, even if you only run your code on Linux.)
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.

Date Sujet#  Auteur
15 Aug 24 * Re: I did not inhale241Kalevi Kolttonen
16 Aug 24 `* Re: Python (was Re: I did not inhale)240Lawrence D'Oliveiro
16 Aug 24  +* Re: Python (was Re: I did not inhale)236Kaz Kylheku
16 Aug 24  i`* Re: Python (was Re: I did not inhale)235Kalevi Kolttonen
16 Aug 24  i +* Re: Python (was Re: I did not inhale)2John Ames
17 Aug 24  i i`- Re: Python (was Re: I did not inhale)1D
17 Aug 24  i +* Re: Python (was Re: I did not inhale)62Muttley
17 Aug 24  i i+* Re: Python (was Re: I did not inhale)59Dmitry A. Kazakov
17 Aug 24  i ii+* Re: Python (was Re: I did not inhale)57Lawrence D'Oliveiro
18 Aug 24  i iii`* Re: Python (was Re: I did not inhale)56Dmitry A. Kazakov
18 Aug 24  i iii +* Re: Python (was Re: I did not inhale)14Muttley
18 Aug 24  i iii i`* Re: Python (was Re: I did not inhale)13Dmitry A. Kazakov
18 Aug 24  i iii i `* Re: Python (was Re: I did not inhale)12Muttley
18 Aug 24  i iii i  +* Re: Python (was Re: I did not inhale)10Dmitry A. Kazakov
18 Aug 24  i iii i  i+* Re: Python (was Re: I did not inhale)2Kaz Kylheku
18 Aug 24  i iii i  ii`- Re: Python (was Re: I did not inhale)1Dmitry A. Kazakov
19 Aug 24  i iii i  i+- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
19 Aug 24  i iii i  i+- Re: Python (was Re: I did not inhale)1Muttley
25 Aug 24  i iii i  i`* Re: Python (was Re: I did not inhale)5Sebastian
25 Aug 24  i iii i  i `* Re: Python (was Re: I did not inhale)4Dmitry A. Kazakov
25 Aug 24  i iii i  i  +* Re: Python (was Re: I did not inhale)2vallor
25 Aug 24  i iii i  i  i`- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
25 Aug 24  i iii i  i  `- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
18 Aug 24  i iii i  `- Re: Python (was Re: I did not inhale)1Richard Kettlewell
18 Aug 24  i iii +* Re: Python (was Re: I did not inhale)2Kenny McCormack
18 Aug 24  i iii i`- Re: Python (was Re: I did not inhale)1Muttley
18 Aug 24  i iii +* Re: Python (was Re: I did not inhale)5Kaz Kylheku
18 Aug 24  i iii i`* Re: Python (was Re: I did not inhale)4Dmitry A. Kazakov
19 Aug 24  i iii i `* Re: Python (was Re: I did not inhale)3Kaz Kylheku
19 Aug 24  i iii i  `* Re: Python (was Re: I did not inhale)2Dmitry A. Kazakov
19 Aug 24  i iii i   `- Re: Python (was Re: I did not inhale)1Kaz Kylheku
19 Aug 24  i iii `* Re: Python (was Re: I did not inhale)34Lawrence D'Oliveiro
19 Aug 24  i iii  `* Re: Python (was Re: I did not inhale)33Dmitry A. Kazakov
19 Aug 24  i iii   +* Re: Python (was Re: I did not inhale)22David Brown
19 Aug 24  i iii   i`* Re: Python (was Re: I did not inhale)21Dmitry A. Kazakov
19 Aug 24  i iii   i +* Re: Python (was Re: I did not inhale)4Muttley
19 Aug 24  i iii   i i`* Re: Python (was Re: I did not inhale)3Dmitry A. Kazakov
19 Aug 24  i iii   i i +- Re: Python (was Re: I did not inhale)1Muttley
30 Sep 24  i iii   i i `- Re: Python (was Re: I did not inhale)1Bozo User
19 Aug 24  i iii   i +* Re: Python (was Re: I did not inhale)12David Brown
20 Aug 24  i iii   i i`* Re: Python (was Re: I did not inhale)11Dmitry A. Kazakov
20 Aug 24  i iii   i i +* Re: Python (was Re: I did not inhale)3Lawrence D'Oliveiro
20 Aug 24  i iii   i i i`* Re: Python (was Re: I did not inhale)2Dmitry A. Kazakov
21 Aug 24  i iii   i i i `- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
20 Aug 24  i iii   i i `* Re: Python (was Re: I did not inhale)7David Brown
20 Aug 24  i iii   i i  `* Re: Python (was Re: I did not inhale)6Dmitry A. Kazakov
20 Aug 24  i iii   i i   +* Re: Python (was Re: I did not inhale)2David Brown
20 Aug 24  i iii   i i   i`- Re: Python (was Re: I did not inhale)1Dmitry A. Kazakov
21 Aug 24  i iii   i i   `* Re: Python (was Re: I did not inhale)3Lawrence D'Oliveiro
21 Aug 24  i iii   i i    `* Re: Python (was Re: I did not inhale)2Dmitry A. Kazakov
22 Aug 24  i iii   i i     `- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
19 Aug 24  i iii   i `* Re: Python (was Re: I did not inhale)4Keith Thompson
19 Aug 24  i iii   i  `* Re: Python (was Re: I did not inhale)3John Ames
20 Aug 24  i iii   i   +- Re: Python (was Re: I did not inhale)1Muttley
20 Aug 24  i iii   i   `- Re: Python (was Re: I did not inhale)1Stefan Ram
19 Aug 24  i iii   +* Re: Python (was Re: I did not inhale)8Lawrence D'Oliveiro
19 Aug 24  i iii   i`* Re: Python (was Re: I did not inhale)7Dmitry A. Kazakov
19 Aug 24  i iii   i +* Re: Python (was Re: I did not inhale)2Keith Thompson
19 Aug 24  i iii   i i`- Re: Python (was Re: I did not inhale)1Dmitry A. Kazakov
20 Aug 24  i iii   i `* Re: Python (was Re: I did not inhale)4Lawrence D'Oliveiro
20 Aug 24  i iii   i  `* Re: Python (was Re: I did not inhale)3Dmitry A. Kazakov
20 Aug 24  i iii   i   +- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
20 Aug 24  i iii   i   `- Re: Python (was Re: I did not inhale)1D
21 Aug 24  i iii   `* Re: Python (was Re: I did not inhale)2vallor
21 Aug 24  i iii    `- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
18 Aug 24  i ii`- Re: Python (was Re: I did not inhale)1Muttley
18 Aug 24  i i`* Re: Python (was Re: I did not inhale)2David Brown
18 Aug 24  i i `- Re: Python (was Re: I did not inhale)1Muttley
18 Aug 24  i `* Re: Python (was Re: I did not inhale)170David Brown
18 Aug 24  i  +* Re: Python (was Re: I did not inhale)2Keith Thompson
19 Aug 24  i  i`- Re: Python (was Re: I did not inhale)1David Brown
20 Aug 24  i  `* Re: Python (was Re: I did not inhale)167Kalevi Kolttonen
20 Aug 24  i   +* Re: Python (was Re: I did not inhale)3Muttley
20 Aug 24  i   i+- Re: Python (was Re: I did not inhale)1Lew Pitcher
20 Aug 24  i   i`- Re: Python (was Re: I did not inhale)1Kalevi Kolttonen
20 Aug 24  i   +* Re: Python (was Re: I did not inhale)160David Brown
20 Aug 24  i   i`* Re: Python (was Re: I did not inhale)159Kalevi Kolttonen
21 Aug 24  i   i +* Re: Python (was Re: I did not inhale)151David Brown
21 Aug 24  i   i i+* Re: Python (was Re: I did not inhale)132Muttley
21 Aug 24  i   i ii`* Re: Python (was Re: I did not inhale)131David Brown
21 Aug 24  i   i ii `* Re: Python (was Re: I did not inhale)130Muttley
21 Aug 24  i   i ii  `* Re: Python (was Re: I did not inhale)129David Brown
21 Aug 24  i   i ii   `* Re: Python (was Re: I did not inhale)128Muttley
21 Aug 24  i   i ii    `* Re: Python (was Re: I did not inhale)127David Brown
22 Aug 24  i   i ii     `* Re: Python (was Re: I did not inhale)126Muttley
22 Aug 24  i   i ii      +* Re: Python (was Re: I did not inhale)6D
22 Aug 24  i   i ii      i+* Re: Python (was Re: I did not inhale)4Muttley
22 Aug 24  i   i ii      ii`* Re: Python (was Re: I did not inhale)3D
22 Aug 24  i   i ii      ii `* Re: Python (was Re: I did not inhale)2Lew Pitcher
22 Aug 24  i   i ii      ii  `- Re: Python (was Re: I did not inhale)1Muttley
22 Aug 24  i   i ii      i`- Re: Python (was Re: I did not inhale)1David Brown
22 Aug 24  i   i ii      `* Re: Python (was Re: I did not inhale)119David Brown
22 Aug 24  i   i ii       +* Re: Python (was Re: I did not inhale)110Muttley
26 Aug 24  i   i ii       i`* Re: Python (was Re: I did not inhale)109John Ames
26 Aug 24  i   i ii       i +- Re: Python (was Re: I did not inhale)1Muttley
26 Aug 24  i   i ii       i `* Re: Python (was Re: I did not inhale)107Lawrence D'Oliveiro
26 Aug 24  i   i ii       i  +* Re: Python (was Re: I did not inhale)103John Ames
27 Aug 24  i   i ii       i  i+- Re: Python (was Re: I did not inhale)1Lawrence D'Oliveiro
27 Aug 24  i   i ii       i  i+- Re: Python (was Re: I did not inhale)1Sebastian
27 Aug 24  i   i ii       i  i`* Re: Python (was Re: I did not inhale)100Richard Kettlewell
27 Aug 24  i   i ii       i  i +* Re: Python (was Re: I did not inhale)94Bart
28 Aug 24  i   i ii       i  i `* Re: Python (was Re: I did not inhale)5Sebastian
26 Aug 24  i   i ii       i  +* Re: Python (was Re: I did not inhale)2Bart
27 Aug 24  i   i ii       i  `- Re: Python (was Re: I did not inhale)1Kaz Kylheku
22 Aug 24  i   i ii       `* Re: Python (was Re: I did not inhale)8Lawrence D'Oliveiro
21 Aug 24  i   i i`* Re: Python (was Re: I did not inhale)18Lawrence D'Oliveiro
21 Aug 24  i   i `* Re: Python (was Re: I did not inhale)7Muttley
21 Aug 24  i   `* Re: Python (was Re: I did not inhale)3Lawrence D'Oliveiro
16 Aug 24  `* Re: Python (was Re: I did not inhale)3Kalevi Kolttonen

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal