Don't know if this is a good example but I've found OOJ extremely useful when working with databases.
My class hierarchy is very simple: select statement class -> database connection class -> Informatica (ETL tool) repository class. It is nice and easy to have instance specific persistent attributes (nouns) like result set, column names, sql sentence, start, end and elapsed time, server, database and user names and boolean row and column filter vectors. It is also easy to add new attributes and methods to child classes or overlay them or use inherited ones. Still, most of my verbs are not class methods and many of my nouns are not class instance attributes. I apologize if I misused any OO or J terms. Esa -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Devon McCormick Sent: 17. syyskuuta 2014 18:37 To: J-programming forum Subject: Re: [Jprogramming] OOJ and calling a verb from another locale As Dan says, the usual way J handles a group of variables is with an array. I'm still interested in seeing a realistic example of how OOP provides something useful for organizing code The toy examples usually trotted out - different geometric shapes or cars - do not seem convincing. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
