Helpful Information
 
 
Category: C Programming
What is objective C?

The forum description says "Here's a place to talk about application or web programming using languages like C, C++, Objective C and C#". What is Objective C?

http://www.google.com/search?q=What+is+objective+C

:D

Yeah, I did find a lot of fancy and clever documentations. One simple overview was, "Objective-C is a object oriented superset of C with a Smalltalk style (infix) message syntax" from http://www.dekorte.com. Didn't get much wiser though ... :rolleyes:

Objective-C is the object-oriented superset of C one uses to program for Apple's Mac OS X Cocoa API.

Thanks Zeus, that was included in the doc of the site I found. Only one part of the text escapes me, superset of C... That I don't understand. But that's more like a english grammar problem. I'll try look it up in my dictionary :)

Basically, it is an extention of C, or an extended version of C.

Objective C was quite popular until C++ with STL slowly took over most jobs of OO development...and then Java...and now C#....and now even Visual Basic... :p

Visual Basic isn't really OO, or atleast VB6 isn't.

Originally posted by Onslaught
Visual Basic isn't really OO, or atleast VB6 isn't.

I would differ on that. VB6 does allow many OO features. (no single language offers true OO anyway).

Classes - public/private members/properties
Constructors/Destructors

are present in VB6, and have used them to create a complete Objects-based project last year.


Let me know if you mean something else by being "not really OO".

True, you can create classes/objects with VB, but it leaves out two major parts of OO which makes OO what it is.
Polymophism & Inheritance, neither of which VB offers.

Originally posted by Onslaught
True, you can create classes/objects with VB, but it leaves out two major parts of OO which makes OO what it is.
Polymophism & Inheritance

Agreed.
As I said, VB is not a "truly OO" language, but it provides enough OO capabilities to provide substantial number of OO solutions.

:)

Agreed.

Still not a big fan of VB though. I am not sure, didn't do any research to make sure, but I heard rumors that the .NOT er .NET version of VB would include the other major points of OO. Do you know if this is true?

Yeah its true .. I have the Visual Studio .NET beta 2 .. and you can do inheritance and polymorphism ..

The syntax is changed around a little bit for .NET vb and the variant is taken out and replaced with OBJECT. So you just use that instead. Maybe that's one more step towards OOP for vb. ;)

And .. I think the closest language to be truly OO would be simula. If you dont believe me check it out. Its almost 'too' oo.

Talking about "truly OO"...is that the way to see it? I mean, AFAIK there is no standardized definition for OOP. The fact some languages have more (or different) OOP-relating features than the other shouldn't matter, should it? Like, calling Java not OOP because it has no multiple inheritance would be a bit silly...but then, would calling it not OOP because it still has primitive datatypes not more silly? After all, some books state that in a true OO language /everything/ is an object.

Nothing IMHO is totally OOP .. I dont even think real life is totally OO. But since neither of us are 100% experts .. there's no use arguing about it .. I was just trying to confirm their suspicions about polymorphism and inheritance in vb .net..

Thanks ;)

I noticed this thread has strayed a bit from the initial topic. Since you were talking about OO languages, I noticed that some of the recent Linux distributions have started including Ruby. If you have any interest in a "pure object oriented language" you might want to take a look at it:

http://www.ruby-lang.org/en/whats.html
http://www.rubycentral.com/

We all have our own opinions ..

I did some programming in BETA, a language developed by the guys who made Simula (Norwegians, woho! :)). It was really pushing the OO paradigm -- it only included two control structures, the rest were supposed to be written in userland :). Some of the ideas were great, but unfortunately, the syntax was so horrible I spent most of my time trying to decipher my own code.

There's a guy here at the University of Oslo working on what he refers to as Simula 2, it's he's Master thesis, and will be done within a year I think, might be interesting :)

Cool man :)!

I dont know if anyone will use it ..
But im sure its a great feeling having a language you have written under your belt.

No use getting into the "true oop" debate - someone will tell you every language is not "true oop". PHP isn't true oop, neither is Perl, or Python, or Ruby, or Visual basic, or this or that. Someone once told me C++ wasn't true oop either, only Java apparently. Some people say Java is not true oop either, it's not 100% pure true oop of course. No, it lacks this oop feature and that oop features, it's not quite genuine 100% pure true real 24k oop, sorry.










privacy (GDPR)