POV-Ray : Newsgroups : povray.off-topic : Programming language development : Re: Programming language development Server Time
5 Sep 2024 09:20:39 EDT (-0400)
  Re: Programming language development  
From: Darren New
Date: 6 Oct 2009 19:03:32
Message: <4acbccc4$1@news.povray.org>
Warp wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>>  > an OOP language for a design which has very little object-orientedness
> 
>> Sure. Any time you give other processes access to all the member variables, 
>> or have most of the routines just static functions, or etc. :-)
> 
>   I think singletons are a completely valid OOP technique. (OTOH, if your
> entire program consists of singletons, it becomes a bit dubious whether
> your program is object-oriented at all...)

Sure.  I meant if all the objects/classes in the program have all the member 
variables public and all the routines static, you're just using OO for the 
modularity.  Doing it that way occasionally doesn't hurt.

-- 
   Darren New, San Diego CA, USA (PST)
   I ordered stamps from Zazzle that read "Place Stamp Here".


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.