5 ms·
I don't have a sushi knife because I don't need one because I don't eat sushi. I was in a project in rule based programming, but I left that project and f'got
by graycat 9y ago
I don't have a sushi knife because I don't need one because I don't eat sushi.
I was in a project in rule based programming, but I left that project and f'got about such programming because I don't have any rules I want to program.
I was in a high end project for object-oriented programming and another for object-oriented data definitions (OSI/ISO CMIP/S) but f'got about those because I don't have any objects to program or use for data.
In my current project, I have defined a few classes, but it's not really object oriented programming because I do next to nothing with methods, never use inheritance, and usually allocate only one instance of each class.
So I use classes as really just versions of structures as in C and, much better than C, as in PL/I where the structures are terrific and in execution time much more efficient than objects. For fast program to program communications over TCP/IP sockets, I do like class instance de/serialization.
Basically, net, to me, object oriented programming is a solution for a niche problem I don't have, have never had, and likely never will have.
Also the OP illustrates more of why I don't pay attention to object-oriented programming: The syntax of that example is tricky gibberish I want nothing to do with.
Object oriented programming seems to have helped a lot with Microsoft's .NET. Okay, I use .NET. But I'm not writing .NET classes!
Sorry guys, I don't eat sushi and in my code don't see any real need for object-oriented programming.
More generally, I've been programming for a long time, and it all looks much the same to me: (A) Define places for the data need to store, (B) manipulate the data with assignment statements, if-then-else, do-while, call-return, and occasionally allocate storage(I let Microsoft's garbage collection handle freeing the storage), and (C) use some .NET classes.
I could use a sushi knife if I ate sushi, but I don't. I could use all that stuff about objects if I had objects in my programming, but mostly I don't.
To borrow from the old movie The Treasure of the Sierra Madre, "Objects? What objects? We don't need no stinkin' objects!"