I think I still suffer OOD (Object Oriented Disorder) :-) However, a few weeks ago I managed to write a Python program to report on a data structure accessed by an OO api that was a fit to using recursion.
Then I had to try to explain the magic of the html indention... Len Rugen Metrics and Automation – umdoitmetr...@missouri.edu -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Tuesday, May 30, 2017 8:53 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Question about C++ You're trying to scare the poor man! After I learned OO, I realized the problem in trying to communicate the concepts. - The easy-to-grasp explanations are stupid: Animal is a class. Dog and Cat are child classes of Animal. Fido is an instance of Dog. You could have an inherited public overridden method Speak() and say myAnimal.Speak() and if it were a Dog it would bark and if it were a Cat it would Meow ... - The real problems that are solved by the significant features are too hard to explain in a simple tutorial. I solved a problem the other day with a very sparsely-implemented virtual polymorphic method -- but it would take me an hour to explain what the problem was. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Crayford Sent: Tuesday, May 30, 2017 5:23 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Question about C++ This might bewilder you some more ... ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN