Talk:Procedural programming: Difference between revisions

Content deleted Content added
Line 53:
 
::I disagree. You're arguing for generic programming, not OOP. Generics in C give the same speed. -- Anon March 5
 
===Proof of efficiency===
Think in a single program with just one function (hello world for example). Mission :the program must call this funtion once then close. It's only a illustrative example but it can be extrapoled for a more complex sample if you are please to.
 
[[With PP:]]
 
You must create the function then call it, then return the result and finish the program.
 
[[With OOP:]]
 
You must create a class with the unique function, the instance the object of this class, then call this object. Next, you must return the result, then must destroy the object and finish the program.
 
The resource spend and speed are clear, also you can see a tendency.
--[[User:Magallanes|Magallanes]] 14:58, 11 September 2006 (UTC)
 
== C# and Java as Procedural Languages ==