[Haskell-cafe] Re: [Haskell] Top Level <-

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Thu Aug 28 05:30:34 EDT 2008


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080828/45f895da/signature.bin


More information about the Haskell-Cafe mailing list