Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Essay Against OOP
Message
From
25/07/2019 16:27:29
 
 
To
25/07/2019 14:47:27
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
01669669
Message ID:
01669756
Views:
60
>>>>>>>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 ;-)
>>
>>I like Python, even when it has something that I do not like too much, which is the use of white space to delimit control flow blocks, but overall I like it, I want to use it for something (I only took some courses) but now for my next project I am learning React Native, so far it is a freaking nightmare :(
>
>Haven't checked on how Python interprets tabs... Tabstop size is a potential "sticking point" between different people.
One of the arguing points is deciding on tabs vs. space, as whitespace is significant in python.
If your project is coded with tabs, you only have to use an editor translating each tab into the wished for caracter offset.
Compiler does not care about visual offset, only about # of whitespace chars.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform