Can you explain to me how a function is intrinsically simpler than a method?
I have a feeling that there is a lot more mythology about OOP than there
should be.
1) OOP uses the same compiler as spaghetti code.
2) OOP is written using procedural languages (the opposite of procedural
is declarative)
3)OOP is based on some interesting theory and has a funny vocabulary but
if you ignore all of these linguistic shortcuts and just explain what
you mean, it is pretty simple.
4) OOP generally results in the average programmer producing code that
is easier to debug and maintain that the average programmer used to be
capable of doing. It is not a cure-all for stupidity or lazy thinking.
It is just easier to spot and fix poorly written code.
5) OOP is a way to approach design; more beginning programmers (and
experienced programmers) have trouble with design than coding.
6) OOP will not cure baldness but it will reduce the number of times you
are pulling your hair out in frustration over a programming error.
Ron
chris duke wrote:
I see it as something of a Math class (my degree is in math so bear with
me). People aren't just going to be thrown into Calculus before at least
learning algebra. There is some argument that teaching calculus sooner could
be beneficial (i'm in that camp but theres a whole different set of issues
there), but at the same time its hard to imagine learning calculus without
at least having some concept of what "infinite" means. Same would go for OOP
- you couldn't learn it without first knowing what "function" means. Sure
you could teach it during the class, but why not get all of that out of the
way along with other simpler concepts in a foundations class before actually
brining OOP into the picture. Much the same way you are taught how to
compute area, and limits, before being thrown into derivatives and
integrals.
-CD
On 8/21/07, [p e r c e p t i c o n] <[EMAIL PROTECTED]> wrote:
most college programming courses have prerequisites right?
personally i know many programmers who don't have a background in
programming who jumped right into oop...just looking at the code i can
tell
what they understand about programming let alone oop...
my 0.02 pieces of lint
p
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com