in

DevPinoy.org

A Filipino Developers Community
ATTENTION:Take our Code Challenge for the month of October 2008 and win some great prize! Learn more about it here!
Latest post 02-21-2007 2:19 PM by adonhis. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 02-14-2007 7:27 PM

    • dodge
    • Top 500 Contributor
    • Joined on 02-15-2007
    • Posts 3
    • Points 75

    object oriented programming

    anybody can give me some tips about oop? thanks..............
    • Post Points: 50
  • 02-14-2007 8:25 PM In reply to

    • cruizer
    • Top 10 Contributor
    • Joined on 12-14-2005
    • Singapore
    • Posts 933
    • Points 22,255

    Re: object oriented programming

    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
  • 02-14-2007 10:05 PM In reply to

    • lamia
    • Top 10 Contributor
    • Joined on 06-20-2006
    • Sampaloc, Manila
    • Posts 749
    • Points 12,975

    Re: object oriented programming

    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.

    devpinoy sig Create your own devpinoy sig! http://projects.devpinoy.org/dpsg/ My Game Development Journal http://pinoyforum.net/Journal/knoppix/ Convert limitations to great expectations... You are the creative force of your life...

    • Post Points: 20
  • 02-14-2007 10:48 PM In reply to

    • cruizer
    • Top 10 Contributor
    • Joined on 12-14-2005
    • Singapore
    • Posts 933
    • Points 22,255

    Re: object oriented programming

    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
  • 02-14-2007 11:37 PM In reply to

    • dodge
    • Top 500 Contributor
    • Joined on 02-15-2007
    • Posts 3
    • Points 75

    Re: lamia

    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
  • 02-15-2007 3:08 AM In reply to

    • lamia
    • Top 10 Contributor
    • Joined on 06-20-2006
    • Sampaloc, Manila
    • Posts 749
    • Points 12,975

    Re: lamia

    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

    devpinoy sig Create your own devpinoy sig! http://projects.devpinoy.org/dpsg/ My Game Development Journal http://pinoyforum.net/Journal/knoppix/ Convert limitations to great expectations... You are the creative force of your life...

    • Post Points: 5
  • 02-15-2007 11:04 PM In reply to

    • smash
    • Top 25 Contributor
    • Joined on 11-28-2005
    • Davao City, Philippines
    • Posts 202
    • Points 2,290

    Re: object oriented programming

    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
  • 02-15-2007 11:36 PM In reply to

    • cruizer
    • Top 10 Contributor
    • Joined on 12-14-2005
    • Singapore
    • Posts 933
    • Points 22,255

    Re: object oriented programming

    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
  • 02-18-2007 5:35 PM In reply to

    • Garri
    • Top 50 Contributor
    • Joined on 07-25-2006
    • Malolos, Bulacan
    • Posts 55
    • Points 830

    Re: object oriented programming

    • Post Points: 20
  • 02-21-2007 2:19 PM In reply to

    • adonhis
    • Top 50 Contributor
    • Joined on 06-26-2006
    • Manila
    • Posts 36
    • Points 525

    Re: object oriented programming

    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.-
    • Post Points: 5
Page 1 of 1 (10 items)

Copyright DevPinoy 2005-2008
Powered by Community Server (Commercial Edition), by Telligent Systems