Ref (was Re: inlining)

superdan super at dan.org
Tue Jul 22 11:50:08 PDT 2008


Jarrett Billingsley Wrote:

> "superdan" <super at dan.org> wrote in message 
> news:g5qa4f$n1g$1 at digitalmars.com...
> > Matti Niemenmaa Wrote:
> >
> >> Walter Bright wrote:
> >> > I don't see the need for an inline or non-inline specifier. It's as
> >> > obsolete as the register keyword.
> >>
> >> Then why was "inout" renamed to "ref"?
> >>
> >> Before you say, "so that we could have 'const ref'", let me note that ref 
> >> in
> >> that sense is as obsolete as inline or register. It should just be "in" 
> >> or the
> >> default and the compiler should figure out whether it's by-reference or 
> >> by-value.
> >
> > how is that even close to making sense?
> >
> > before you say, "but value vs. 'in' is entirely transparent to the user", 
> > let me note that aliasing is going to fuck that plan right there.
> >
> > deciding value vs. reference only works for invariant shit. it's in fact 
> > part of why invariant shit is so fucking brilliant.
> 
> Dan, you make good points and seem to have a head on your shoulders, but the 
> swearing really is unnecessary.  That doesn't mean I don't swear, I do it 
> all the time.  But this is not really the place for it.
> 
> Consider how much more coherent and reasonable your post sounds like this:
> 
> ----
> how is that even close to making sense?
> 
> before you say, "but value vs. 'in' is entirely transparent to the user", 
> let me note that aliasing is going to completely invalidate that plan right 
> there.
> 
> deciding value vs. reference only works for invariant data. it's in fact 
> part of why invariant data is so incredibly brilliant.
> ----
> 
> Please don't take this as an attack, I'm not trying to make you feel like 
> you're less of a member of the community.  Swearing on the internet just 
> makes you seem like a 13-year-old boy. 

you're a good guy jarrett so i'll reply to this. the problem is i'm not a good guy. anyone who knows me would agree i'm a gaping asshole. but at least i'm not bullshitting. if i say something online you know i could say the same to your face. and anyone fucking with me will get a good serving of knuckle juice with shin extract for good measure. so why would i lie online by being nice.

if anything pisses me off it's the opposite phenomenon: people who are all nicey-nicey in real life and they let their fucking aggression go berserk online. if most would have to say to another's face 10% of what they say online, they'd shit in their pants. as an example. i couldn't make it to the d conference last year. did anyone start a fight? i bet not. yet if this group was any indication, that would've been a fucking ufc conference, not a d conference.

sticking online with what you could afford saying irl is the best way.



More information about the Digitalmars-d mailing list