To understand OOP better...
From: Asapi (Asapi_at_net.net)
Date: 12/15/03
- Next message: Rick Elbers: "Re: Real world musings"
- Previous message: Universe: "Re: OO, I just don't get it."
- Next in thread: Alan Gauld: "Re: To understand OOP better..."
- Reply: Alan Gauld: "Re: To understand OOP better..."
- Reply: Universe: "Re: To understand OOP better..."
- Reply: H. S. Lahman: "Re: To understand OOP better..."
- Reply: Cristiano Sadun: "Re: To understand OOP better..."
- Reply: Topmind: "Re: To understand OOP better..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 15 Dec 2003 18:00:28 GMT
What are features of Procedural Programming? My understanding is that such
way of programming focuses on writing procedures/functions. Take the
example below:
int AnotherFunc(...)
{
...
}
void Func(...)
{
...
/*To obtain functionality of Func, AnotherFunc needed, so build it also*/
AnotherFunc(...);
...
}
int main()
{
...
/*This functionality needed, build it*/
Func(...);
...
}
Is my such understanding correct about Procedural Programming?
In contrast, OOP, besides encapsulation, inheritance and polymorphism, can
produce more modular code that is good for large-scale projects and
maintaining code.
Any other points am I missing here?
Thanks!
- Next message: Rick Elbers: "Re: Real world musings"
- Previous message: Universe: "Re: OO, I just don't get it."
- Next in thread: Alan Gauld: "Re: To understand OOP better..."
- Reply: Alan Gauld: "Re: To understand OOP better..."
- Reply: Universe: "Re: To understand OOP better..."
- Reply: H. S. Lahman: "Re: To understand OOP better..."
- Reply: Cristiano Sadun: "Re: To understand OOP better..."
- Reply: Topmind: "Re: To understand OOP better..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]