Object Oriented??

Miscellaneous Forums/General Discussion/Object Oriented??

Would BB be considered object oriented?

Blitzmax can use OO principles but Blitzbasic is not really. This shows it can be faked though.

I would say a definite no for the original Blitz Basic.

It depends on which version of Blitz your'e talking about. BlitzMax is object oriented. Blitz3D and BlitzPlus are procedural languages, but have types (structures) which are a sort of data object.

You can't really consider anything other than BlitzMax as OO since, for a start, you can't encapsulate data, and the code that operates on that data, into a self-contained object.

i was just asking for any bb version.

so far my understanding of what object oriented means is that you can create a class(type) and make multiple instances of it. i not completely sure if that is correct or not, but aren't types pretty much the same thing as classes which are what make object oriented programming, object oriented?



so far my understanding of what object oriented means is that you can create a class(type) and make multiple instances of it. i not completely sure if that is correct or not, but aren't types pretty much the same thing as classes which are what make object oriented programming, object oriented?



not really. C has 'structs' (pretty much the equivalent of types in BB) but is still considered a procedural language. For a bit more exhaustive explanation of what an OO language is and isn't:
http://en.wikipedia.org/wiki/Object_oriented_programming

Blitzbasic ie. BlitzPlus and Blitz3D, is not object-oriented but object-based. Object-based is a limited form of object-oriented. It's types that makes Blitzbasic object-based.

No.