Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Essay Against OOP
Message
De
24/07/2019 12:32:13
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
01669669
Message ID:
01669704
Vues:
55
>>>>https://developers.slashdot.org/story/19/07/22/0426201/is-object-oriented-programming-a-trillion-dollar-disaster
>>>
>>>The author says:
>>>"I'm not criticizing Alan Kay's OOP -- he is a genius. I wish OOP was implemented the way he designed it. I'm criticizing the modern Java/C# approach to OOP"
>>>
>>>Well, then the title is misleading to say the least, I have never considered Java, C# and C++ as being OO
>>
>>Not saying your idea is false, but saying that always gets others riled up (and they are often in mayority of head count).
>>
>>I think nowadays the single inheritance of Java, C# and vfp is a huge drawback, as "Mixin" leads to shorter/cleaner code.
>>As long as you don't go overboard (use it as all-purpose hammer), Multiple Inheritance / Mixin is good IMO.
>>
>>C++ today is not something I really can comment on, as most of the enhancements since mid-90ies I never really tried.
>>If I have to I code basic C in the source fed to C++ compiler. At least some Linux inner circle coders feel similar, although with more experience to draw on ;-)
>
>I do like C# and Java (well, I use to like it but the last thing I did with it was taking a course on using CORBA with Java in 1998!),

Things Aspect Oriented Programming or the heavy configuration depending Spring oozing reflection and dynamic class loading IMO point in part to the weakness of single inheritance.

> I never liked C, and that carried over to C++, last time I worked with C++ was a couple of years ago to customize a video wall input console, a program that is
still running, and I really hope there is no need to change anything on it, as I hated every second :)

I used only part of C and had created some mnemonics via included .def... C++ began as small Frankenstein and mutated/cacinogened in some parts
>
>The problem is that once you know Smalltalk, none of this languages is good :)

Perhaps that is the reason I like reading Python - have not learned Smalltalk ;-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform