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

Liste des GroupesRevenir à c editors 
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 : 21. Aug 2024, 20:15:14
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <va5ec2$3vluh$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Mozilla Thunderbird
On 21/08/2024 17:40, Muttley@dastardlyhq.com wrote:
On Wed, 21 Aug 2024 17:27:04 +0200
David Brown <david.brown@hesbynett.no> boringly babbled:
On 21/08/2024 12:26, Muttley@dastardlyhq.com wrote:
Trying to understand the Linux documentation for UARTs is a nightmare.
They are horrendous - the APIs, structs, flag sets, etc., are a vast
jumble of crap for handling terminals that haven't been seen outside a
museum for 50 years, long before Linux was conceived.  Trying to get the
 Unfortunately terminals are complex beasts with many permutations though
all that should be a higher level that what you were doing with a UART.
 
Agreed.  It is bad design to mix terminal handling with UART handling.

Even better, of course, is to ditch C and use Python - "pyserial" does
it all, simply and cleanly.  (And the same code works on Windows, if
 The problem with pyserial is you have to use Python. Horrible language
though like BASIC, useful for teaching kids to code.
 
Let's just say, opinions differ.  Python /can/ be used for beginner programmers - but it is also an excellent language for many real tasks. Of course it has its weaknesses and disadvantages as well as its strengths, and aspects that will appeal to some programmers and not others.

Date Sujet#  Auteur
8 Jun 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal