slang-users mailing list

[2001 Date Index] [2001 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Object-oriented


Hi All,

Its true S-Lang is not an OOP language.  Thats fine, I have no dissapointment there.  Richard, I suggest a book if you haven't already read it that might help ypu and others.  Its call "Code Complete" by Steve McConnell, which talks a great deal about modules, information hiding, dividing a problem, structured and oop techniques in good detail.  I'm sure there are some other good refs out there on the net (Dr. Dobbs comes to mind).

I've worked on C apps where they 'faked' oop.  Sometimes it helped, sometimes it just made things worse to try and understand.

Good Luck.

Richard van Zon writes:
 > Well...I am looking for a matter to divide things like OOP...
 > for example...
 > 
 > TBook Book;
 > Book.Open();
 > Book.Read()
 > Book.Page=10;
 > Book.Page++;
 > 
 > This doesn't has to be exactly as mentioned above....
 > I thought, maybe there is a way to simulate this....because as far
 > I know S-Lang doesn't support OOP.
 > Thanks,
 > 
 > Richard van Zon.
 > 
 > John E. Davis wrote:
 > 
 > >Richard van Zon <rvanzon@xxxxxxxxxxxx> wrote:
 > >
 > >>But is there a way to "simulate" classes ?
 > >>
 > >
 > >Exactly what do you want to do?
 > >
 > >--John
 > >
 > >
 > 
 > 

-- 
-- 
Joe Robertson   -----------------------------
Staff Engineer		jmrobert@xxxxxxxx
Strictly Business	http://www.sbcs.com
---------------------------------------------
"I am... after all... a SuperHero."
 Larry-Boy     http://www.larry-boy.com
---------------------------------------------


[2001 date index] [2001 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]