Sinisterly
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)

Pages: 1 2 3


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 Wink , I see that you are getting a bit more active on HC again.

Thanks Smile
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.
You explained class polymorphism now, but not polymorphism. Maybe you can add a little sentence about that.

Thanks, I'll add that later Smile thanks for the suggestion.