![]() |
|
Introduction to class polymorphism - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: PHP (https://sinister.li/Forum-PHP) +--- Thread: Introduction to class polymorphism (/Thread-Introduction-to-class-polymorphism) |
RE: Introduction to class polymorphism - Deque - 07-22-2013 Nice examples, that's what I would have done too. Show the bad alternatives first and go to the better code that uses polymorphism later. You explained class polymorphism now, but not polymorphism. Maybe you can add a little sentence about that. RE: Introduction to class polymorphism - 1llusion - 07-22-2013 (07-22-2013, 05:53 AM)Psycho_Coder Wrote: Very nice thread sir, looks clean and well explained. Great work Thanks ![]() Yep, I'll be more active now as I have more time. (07-22-2013, 08:30 AM)Deque Wrote: Nice examples, that's what I would have done too. Show the bad alternatives first and go to the better code that uses polymorphism later. Thanks, I'll add that later thanks for the suggestion.
|