Chris Angelico <ros...@gmail.com> writes: > On Thu, 3 Nov 2022 at 21:44, Alan Gauld <learn2prog...@gmail.com> wrote: >> Also Python is not a purely OOP language, in that you can write >> functional and procedural code in Python if you wish. In >> Smalltalk thats notionally impossible because everything >> is an object. And all programming statements are messages >> to objects. > > In Python, everything is an object. Doesn't that equally mean that > Python is purely OOP?
I think Alan Gauld pointed out that even syntax is an object in Smalltalk --- or was. An if-statement in Python is not an object. -- https://mail.python.org/mailman/listinfo/python-list