There are two arguments. The first and most important is: It's a design decision. PureBasic's design revolves around the imperative programming paradigm. It's a way to do things, it's a philosophy. It does not revolve around the object oriented programming paradigm, which is a different way to do the same things, a different philosophy.GPI wrote: My problem with many posts here is, that they can be summarised to "I hate objects! Don't include it!". When you have an argument, why PB should not support object handling, tell us. Than we can discuss about this. But "fred said no" - yes we know. And of course I am trying to change is decision. That he said no is not an argument.
You can argue that OOP is better for your tasks and i can argue imperative is better for my tasks.
The fact is PureBasic is a tool for imperative tasks. Thats what it is. Thats the design decision Fred took.
So why not just add OOP, so everyone can use what he wants to use?
Because that would mean to change the whole design of the language. Breaking all compatiblity to older code. Alienateing all users that choose to use PB because it's imperative. Which i guess is the biggest part of the user base. I Mean: Why would you use a imperative language if you want OOP? Makes no sense.
You think you can keep both imperative and OOP?
No you can't. If you don't change the whole design of PB, you actualy allready have what you want. You can program OOP style in PB. The only point in introducing OOP into PB would be to take full advantage of it and change the whole language accordingly.
If you want OOP just take one of the countless OOP languages out there. I dont get the problem.