Liste des Groupes | Revenir à l misc |
On Wed, 21 Aug 2024 21:15:14 +0200Dynamic typing has its advantages and disadvantages. You do lose a lot of human checking and static checking when you have dynamic typing, but you gain flexibility. Have you tried using type annotations in Python? For some code it can give a reasonable compromise, letting you have at least some control of types while also being flexible where you want.
David Brown <david.brown@hesbynett.no> boringly babbled:On 21/08/2024 17:40, Muttley@dastardlyhq.com wrote:Yes, its ultimately subjective. The reasons I don't like it are that I can'tThe 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
stand dynamic typing in supposed "proper" languages and the syntatically
meaningful whitespace nonsense they took from Occam really grinds my gears.
In my current job I'm forced to use it but I'd never do it out of choice.
Oh, it's fine for /far/ bigger programs than that. But it is excellent for small scripts and utilities.programmers - but it is also an excellent language for many real tasks.IMO its fine for small scripts up to maybe a few hundred lines. Beyond that
Of course it has its weaknesses and disadvantages as well as its
strengths, and aspects that will appeal to some programmers and not others.
no.
Les messages affichés proviennent d'usenet.