Re: implementing zope.component 4.0

Fred Drake <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Mon, Nov 30, 2009 at 5:14 PM, Lennart Regebro <[email protected]> wrote:
> True. For me utilities are tools. Like CMFs portal_whatever. But in
> Zope3 even small stupid singleton objects are utilities in some cases,
> and that is confusing for a beginner.

I wonder how many typical Python programmers know the term
"singleton".  Though it's not unusual for there to be exactly one
instance of a class in a process, it's pretty unusual to think about
that as a valuable aspect of a class.  Which for the traditional
definition of singleton, it very much is.

-1 for calling utilities singletons, since that has nothing to do with
their usage.

+1 for calling them utilities, since that has everything to do with
how they're used.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.