DevPinoy.org
A Filipino Developers Community

>>> First two to make 3 wins! <<<

object oriented programming

rated by 0 users
This post has 9 Replies | 1 Follower

Top 500 Contributor
Posts 3
Points 75
dodge Posted: 02-14-2007 7:27 PM
anybody can give me some tips about oop? thanks..............
  • | Post Points: 50
Top 10 Contributor
Posts 953
Points 22,750
what tips in particular?

in general, read up on design patterns, single responsibility principle, open/closed principle, Liskov substitution principle... those concepts are very important in OOP.
http://devpinoy.org/blogs/cruizer
Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
  • | Post Points: 5
Top 10 Contributor
Posts 768
Points 13,405
If you're new to OOP, I think Design Patterns would be a bit too much to handle. Not that I'm underestimating your capabilities or that I'm comparing myself to you. But put in mind first the four principles of OOP:

- Inheritance
- Encapsulation
- Polymorphism
- Abstraction

I dunno if there's a correct order. Once you understand that, you can go to design patterns. Design Patterns are mostly associated with polymorphism(the cool ones).Big Smile Ask around if you have any more doubt.

 

Convert limitations to great expectations... You are the creative force of your life...

  • | Post Points: 20
Top 10 Contributor
Posts 953
Points 22,750
i beg to differ. when i read about design patterns, it was only then that OOP to me made sense Stick out tongue

i've known about OOP/abstraction/inheritance/polymorphism (C++, Turbo Pascal, Java and C# syntax) for more than a decade before my encounter with design patterns. yet it was only then that I realized that I never really knew how to use them. so in effect, I only learned what real OOP was when I learned about it.
http://devpinoy.org/blogs/cruizer
Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
  • | Post Points: 20
Top 500 Contributor
Posts 3
Points 75
ya your right! im new to oop, but im not new to programming. its just i never use it before when i start.
  • | Post Points: 20
Top 10 Contributor
Posts 768
Points 13,405
I have an idea for dodge. If you could explain to yourself all those four principles then perhaps you could jump to design patterns? Wink

 

Convert limitations to great expectations... You are the creative force of your life...

  • | Post Points: 5
Top 25 Contributor
Posts 202
Points 2,290
you will learn more about oop the moment you start applying it in your projects.  dont worry if you dont get everything right the first time.  you can always refactor later :)  
  • | Post Points: 20
Top 10 Contributor
Posts 953
Points 22,750
agree with smash. most of the time it's ok to code things badly only to refactor them when you've noticed it stinks Stick out tongue this'll prevent you from overengineering your designs. refactoring to patterns, ika nga.
http://devpinoy.org/blogs/cruizer
Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
  • | Post Points: 20
Top 50 Contributor
Posts 55
Points 830
try this www.objectorientedphp.com Smile
devpinoy sig
Top 50 Contributor
Posts 36
Points 525
OOP Demystified
Recommended book for learning OOP. Medyo may mga redundant na mga sentences and examples pero ayos lang ung explanation to different OOP concepts  and principles (Encapsulation, Inheritance, Abstraction, Polymorphism, Method Overloading, Overridding, etc). :D
-You can do anything you think you can.-
Page 1 of 1 (10 items) | RSS

Copyright DevPinoy 2005-2008