[Bluej-discuss] How to call an accessor method in a different class?

david davidwb at gmail.com
Mon Nov 19 22:31:19 GMT 2007


Hi Lon

The idea that data drives the design seems so obvious to me today but  
I was a junior in college before anyone explicitly pointed this out as  
a pedagogical tool or design philosophy. Even more amazing, it seems  
to be ignored by so many texts, even OOP texts. Perhaps it is so  
obvious it doesn't need mentioning, but I rather doubt it.

david

On Nov 19, 2007, at 5:11 PM, Lon Levy wrote:

> Hi Ian,
>
> OOPs is neither better nor worse than procedural coding and I,  
> although I started to code before structured and modular coding,  
> have become convinced that it is best to start with functional  
> programming to develop a solid understanding of algorithms before  
> jumping to objects.  Better still is to teach students how to  
> clearly analyze provided data and use that data to drive their code  
> (see www.teach-scheme.org for lots more information, or ask me off- 
> list).  At least that serves my students well.
>
> Have a great Thanksgiving,
>

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Bromidic though it may sound, some questions don't have answers, which  
is
a terribly difficult lesson to learn.

         ~~ Katharine Graham

david
davidwb at gmail.com




More information about the bluej-discuss mailing list