That is correct, except for OO - It is data hiding...node code hiding.

----- Original Message ----- 
From: "bo" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, May 28, 2008 11:06 PM
Subject: [c-prog] Re: Question on API's and OO


This is for an online class discussion. I have already answered but 
am still unclear. 
I think an API is a small program that lets other programs 
communicate with an OS. I did see them described as protocols. I am 
not sure which. 
Object oriented I think I understand. It is a programmng method that 
uses modules which can be called by a program. This enables the 
program to make use of reuse, and code hiding. It makes for a quicker 
program. Similar to the subroutines we use to use in programming 
basic, but instead of embeding them in the program the OO modules are 
separate like DLL files and can be called. From what I understand 
API's can be built using OO. 
The discussion is on why one is better. I said that I didn't think 
one was better. The API is used for a different purpose than the 
object oriented programming. I don't think that is the answer they 
are looking for. 
Am I close? 

--- In [email protected], "Brett McCoy" <[EMAIL PROTECTED]> wrote:
>
> On Wed, May 28, 2008 at 10:16 PM, bo <[EMAIL PROTECTED]> wrote:
> 
> > What is the difference between API's and OO?
> > I have read several different articles and some say that API's 
and OO
> > are the same thing. Some say they are different, but no one says 
why?
> > Is one better than the other?
> 
> What is your specific understanding of what each one is?
> 
> Have you done any research online?
> 
> What articles have you read that make these statements?
> 
> (They are different terminologies, I just want to see what you
> understand about them first)
> 
> -- Brett
> ------------------------------------------------------------
> "In the rhythm of music a secret is hidden;
>  If I were to divulge it, it would overturn the world."
>  -- Jelaleddin Rumi
>



Reply via email to