That's not exactly true :) All you need to get a Turing-complete language is just some kind of jump instruction, some way to modify memory, a conditional branching operation, and maybe a handful of operations.
ASM has these. But you'll agree that this is not a very practical way of programming these days. OO is one of many higher level concepts that have been developped to handle complexity. The one you're refering to without naming it is Functional Programming. But "just methods" is a bit harsh, and tends to explosion of complexity. You'll also need some FP concepts such as pattern matching, immutability, variadic functions, monads, or whatever solution FP languages came up with.
I'm an advocate of FP, but I would definitevely not recommand using an OO language that does not have those in an "functions only" style on a large codebase. Trust me. Spaghetti code ahead. I've seen that happen enough :/
(ps: watch the talk in my comment, you might like it :) )
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I tried it many times and I don't see the point of OOP / classes. I mean everything you need are functions.
That's not exactly true :) All you need to get a Turing-complete language is just some kind of jump instruction, some way to modify memory, a conditional branching operation, and maybe a handful of operations.
ASM has these. But you'll agree that this is not a very practical way of programming these days. OO is one of many higher level concepts that have been developped to handle complexity. The one you're refering to without naming it is Functional Programming. But "just methods" is a bit harsh, and tends to explosion of complexity. You'll also need some FP concepts such as pattern matching, immutability, variadic functions, monads, or whatever solution FP languages came up with.
I'm an advocate of FP, but I would definitevely not recommand using an OO language that does not have those in an "functions only" style on a large codebase. Trust me. Spaghetti code ahead. I've seen that happen enough :/
(ps: watch the talk in my comment, you might like it :) )