Sharing in D

Leandro Lucarella llucax at gmail.com
Thu Jul 31 08:38:05 PDT 2008


Walter Bright, el 30 de julio a las 23:22 me escribiste:
> Steven Schveighoffer wrote:
> >"Walter Bright" wrote
> >>http://www.reddit.com/comments/6u7k0/sharing_in_d/
> >There are 2 problems I see with this scheme.
> >First, that the default is 'unshared'.  This is going to break a lot of 
> >existing code, and make peoples lives miserable who do not want to deal with 
> >unshared non-stack data.
> 
> Nearly all global data is assumed to be and treated as if it were unshared. So 
> making unshared the default is the right solution. And frankly, if you're using 
> a lot of global variables, you might want to reevaluate what you're doing. Lots 
> of global variables is the 80's style of programming :-)

Tell that to singleton-monkeys =P

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
¿Qué será lo que hace que una brújula siempre marque el norte?
- Ser aguja, nada más, y cumplir su misión.
	-- Ricardo Vaporeso



More information about the Digitalmars-d mailing list