Segment violation (was Re: Why I could not cast string to int?)
Jonathan M Davis
jmdavisProg at gmx.com
Fri Feb 3 04:06:38 PST 2012
On Friday, February 03, 2012 11:08:54 Artur Skawina wrote:
> BTW, scope should have been the default for *all* reference type function
> arguments, with an explicit modifier, say "esc", required to let the thing
> escape. It's an all-or-nothing thing, just like immutable strings - not
> using it everywhere is painful, but once you switch everything over you get
> the benefits.
That would destroy slicing. I'm firmly of the opinion that scope should be used
sparingly.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list