Any chance to avoid monitor field in my class?

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 9 08:57:56 PDT 2014


On Friday, 9 May 2014 at 14:56:21 UTC, flamencofantasy wrote:
> One thing I hate about C# (which is what I use professionally) 
> is
> the sync block index in every single class instance. Why not 
> have
> the developer decide when he needs a Monitor and manually use
> it?! I am disappointed D took the same route.

If it can be changed without breaking existing code, you might be 
able to convince people to make it somehow optional or elided 
when unnecessary.


More information about the Digitalmars-d-learn mailing list