3 ms·
Linux attempted to make an object-oriented kernel and failed? Can you give a link? Small correction, btw: in Python everything is an object and you have classe
by wladimir 16y ago
Linux attempted to make an object-oriented kernel and failed? Can you give a link?
Small correction, btw: in Python everything is an object and you have classes n' stuff, making it just as 'OOP' as C++, Java.
- dfox 16y agoMaking it several orders of magnitude more 'OOP' than C++ and Java.
- cdavid 16y agoPython is clearly described as an OOP programming language, yet, interestingly, it does not have key features often atteched to OOP: it has no enforced encapsulation, and inheritance plays a very minor role in designing python programs. As Alan Kay described it, OOP should be about very late binding, messaging and state hiding/protection (http://userpage.fu-berlin.de/~ram/pub/pub_jf47ht81Ht/doc_kay_oop_en http://userpage.fu-berlin.de/~ram/pub/pub_jf47ht81Ht/doc_kay...). That's completely different from most what people describe as OOP (by that definition, a statically typed language cannot be OOP). The notion of multiple algebra associated to objects mentioned by Stepanov was already considered before, so I don't buy that argument much. Also, as much as I admire in some perverse sense what the STL can do with C++, I don't think it is an example of a beautiful design - more advanced languages (dynamically and statically types) provide much nicer solutions to the same issue.
- nubela 16y agoand that in essence is what makes python awesome.