Exactly
A procedural language goes through the code step by step with a few
jumps and returns to and from sub routines and such.
OOP Object Oriented languages allow, and encourage you to create, or if
you will describe entities called objects which usually consist of sets
of procedures and often specific data to deal with the objects as an
entity.
Any OOP language can be written as a procedural language by not using
OOP tools, but only a few procedural languages can be used for OOP and
you have to stand on your head to accomplish it, if you can.
Harold
On 03/03/2015 08:23 PM, Michael Havens wrote:
you know.... I read the article. Then I reread it. Then the first
paragraph caught my attention... but it still didn't make any sense.
Then I remembered that a lot of the time if you take out the extra
words it then it might.
--Procedures, also known as routines, subroutines
<http://en.m.wikipedia.org/wiki/Subroutine>, methods, or functions
(not to be confused with mathematical functions, but similar to those
used in functional programming
<http://en.m.wikipedia.org/wiki/Functional_programming>), simply
contain a series of computational steps to be carried out. Any given
procedure might be called at any point during a program's execution,
including by other procedures or itself. Procedural programming is a
list or set of instructions telling a computer what to do step by step
and how to perform from the first code to the second code.
--
turned into:
Procedures, also known as routines, subroutines
<http://en.m.wikipedia.org/wiki/Subroutine>, methods, or functions
simply contain a series of computational steps to be carried out. Any
given procedure might be called at any point during a program's
execution, including by other procedures or itself. Procedural
programming is a list or set of instructions telling a computer what
to do step by step and how to perform from the first code to the
second code.
And I got it
:-)~MIKE~(-:
On Tue, Mar 3, 2015 at 8:03 PM, Mark Phillips
<[email protected] <mailto:[email protected]>> wrote:
http://en.m.wikipedia.org/wiki/Procedural_programming
On Mar 3, 2015 7:44 PM, "Michael Havens" <[email protected]
<mailto:[email protected]>> wrote:
According to
http://www.ibm.com/developerworks/linux/library/l-bash2/index.html
Python is a procedural language as well.
/Bash programming constructs/
/If you've programmed in a procedural language like C, Pascal,
Python, or Perl, then you're familiar with standard
programming constructs like "if" statements, "for" loops, and
the like. /
What does it mean to be a procedural language?
:-)~MIKE~(-:
On Mon, Mar 2, 2015 at 7:20 PM, Keith Smith
<[email protected] <mailto:[email protected]>>
wrote:
C is procedural, which is easier to learn. C++ is object
oriented. Java is object oriented. I have not looked at
Python so I cannot comment. PHP is object oriented,
however most use it for scripting (old school PHP).
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
<mailto:[email protected]>
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
<mailto:[email protected]>
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss