Adrian Hey wrote:

> There are plenty situations where it makes no semantic sense to allow
> 2 or more or some "thing". A list of all active processes for example.

"all" referring to what scope? perhaps there occurs a situation
with several process (thread) pools, severals cores etc.

See also "singleton considered harmful", there are similar arguments:
http://www.oreillynet.com/cs/user/view/cs_msg/23417

and also Section 13.3 "Global Data"
in McConnell: Code Complete (2nd ed.) has a nice discussion.

J.W.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to