Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Essay Against OOP
Message
From
23/07/2019 02:28:19
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/07/2019 01:06:23
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
01669669
Message ID:
01669672
Views:
88
>>https://developers.slashdot.org/story/19/07/22/0426201/is-object-oriented-programming-a-trillion-dollar-disaster
>
>Interesting article. I guess you could write a similar article about procedural code. My take is to stay away from any puristic approach. Use the right tool for the right solution, and stay open minded. I do have seen NET and Java Code that goes beyond reasoning. On the other hand the mindless collection of public variables and scores of parameters have genereated many desaster projects. Done "right", any tool is a good tool if it fits the Purpose. But what is "Right" also may strongly depend on the context.

I've seen disasters written in several languages, tools misused, and I can rarely assign the blame to the language or the programming paradigm. Most of the time I'd say it was either the programmer not knowing the language well enough, or not having a picture of how it should work/look when it's done, which again comes from lack of experience.

That being said, there's also the collective learning curve. The first examples to imitate are rarely the best ones - they were written with nearly zero experience. Anyone remember the "framework" that came with VFP? Or the Codebook which called a container on the form a bizobject? And then consider the thousands of programmers who tried to follow that, not clearly distinguishing the language itself from the way it was used in those examples? It took us years to start writing clean code.

I reserve a special remark for the mention of design patterns in the article. They weren't meant as more clutter to fill the programmers' heads with, on the contrary. They were common names for the things many people had to invent over and over and had to resort to long descriptions when communicating the works to others. So instead of saying "the heavy piece of metal on the end of a handle with which you hit things to drive them in or bend them", it's called a hammer. It actually reduces the clutter. Unless one feels a duty to implement them all, preferrably in the same app :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform