Begin looking at the oop lab

-------------------------------------------------------------
Lab: Object Oriented Programming
To advance the lab, select menu Studio|Advance or the
corresponding shortcut.


-- (1 of 70) Overview ---------------------------------------
This lab is about Object Oriented Programming.

It covers OOP ideas and terminology and shows how to do it.
)

2010/3/18 David Ward Lambert <[email protected]>:
> When I run my dog I count critters.  I can identify some of them.  And
> so developed a taxonomy counter  in python.  Incrementing one of these
> objects also  increments all those above  it.  Thus if we  find a frog
> I'd increment the animal object;  on finding a skunk we'd go elsewhere
> before incrementing "mammal".  Home again I'd read 2 animal, 1 mammal,
> 0 all else.   I suppose I used a registration  technique in the python
> object initializer.  Solutions in j please?
>
> The interface includes construct structure, modify any of the objects,
> report correctly.
>
>
>              animal
>
>   bird       reptile         mammal
>              /   \         /   |   \
>            snake newt   deer rabbit squirrel
>
>
> Related, has anyone written Design Patterns in j?  Thanks, Dave.
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: [email protected]
gsm: +3546985532
sími: +3544781286
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to