(02-08-2018, 09:59 PM)IC3 Wrote: What's wrong with OOP? Every programming language has its own "scope", purpose ,depending on the result that you want achieve (that's why we have so many programming languages today, right?).
I'm not an expert coder, neither a math lover so what's wrong with Java/Python and OOP in general? I mean, I'll say again each programming language has its own purpose, don't throw hate and say X is better than Y, cause for sure I won't code a driver with Java since Java has its own purposes.
OOP has a few good uses, but for general use, it's not a good thing. Java has no purpose except for to make obsolete code for obsolete OSs. Python is great for scripting, because it is a scripting language. Python was not made to make real programs, it was made to make scripts, and that's why it is not compiled to machine code, and that's why it's not truly multi-threaded (it's also hard to make it multi-threaded). OO generally slows down your code (check C++/Objective-C vs C benchmarks), and it's used in places that it shouldn't. Data and code should be kept separate (in Go for example, you have separate 'methods' and structs, instead of classes), yet OOP
forces you to keep them together. Java and Python are extremely slow in comparison to Go, D, C++, C, and other languages. Java was a mistake, Python is a great thing that's misused. Using Python for real programs is like writing local mobile apps with PHP.
We have so many programming languages today because not everyone agrees with how the current ones work. I'm making one because I like Go but there's some issues with it, and I have some neat syntax ideas. Java was everywhere, now it's dying. The only reason why anybody should be using Java, is for Android; however, Android is being replaced by Fuschia (Google's new OS), which doesn't use Java.