Re: The Folly of Python

Liste des GroupesRevenir à col advocacy 
Sujet : Re: The Folly of Python
De : OFeem1987 (at) *nospam* teleworm.us (Chris Ahlstrom)
Groupes : comp.os.linux.advocacy
Date : 15. Apr 2024, 13:42:20
Autres entêtes
Organisation : None
Message-ID : <uvj3qs$8i51$2@dont-email.me>
References : 1 2 3
User-Agent : slrn/1.0.3 (Linux)
rbowman wrote this copyrighted missive and expects royalties:

On 14 Apr 2024 20:20:49 GMT, Stéphane CARPENTIER wrote:
>
What's that? You mean "Object Oriented"? If yes, are you really a
programmer (in fact, I know the answer, it's a rhetorical question)? If
no, do you know that python doesn't require Object Oriented programming
(it's another rhethorical question)?
>
Yes and no... Everything in Python is an object but you don't necessarily
need to construct your own classes.

    https://www.linkedin.com/pulse/understanding-pythons-mutable-immutable-objects-memory-gihozo

    Integers are immutable objects in Python. When you modify an integer, a
    new object is created instead of modifying the existing one.

        x = 10

Wowza!

--
Do not sleep in a eucalyptus tree tonight.

Date Sujet#  Auteur
5 Oct 24 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal