www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Ref (was Re: inlining)

reply superdan <super dan.org> writes:
Jarrett Billingsley Wrote:

 "superdan" <super dan.org> wrote in message 
 news:g5qa4f$n1g$1 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.
Jul 22 2008
parent reply JAnderson <ask me.com> writes:
superdan wrote:
 Jarrett Billingsley Wrote:

 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. 


I'm glad I'm not the only one. In general I find it hard to read someone text if it has swearing all over it. I generally ignore those emails as I feel they have no valuable content and they make me feel sick. I don't want to be thinking about the bathroom while in technical discussions. If someone wants to be taken seriously they should try to at least communicate with proper edicate. -Joel
Jul 29 2008
next sibling parent reply superdan <super dan.org> writes:
JAnderson Wrote:

 superdan wrote:
 Jarrett Billingsley Wrote:

 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. 


I'm glad I'm not the only one. In general I find it hard to read someone text if it has swearing all over it. I generally ignore those emails as I feel they have no valuable content and they make me feel sick. I don't want to be thinking about the bathroom while in technical discussions. If someone wants to be taken seriously they should try to at least communicate with proper edicate.

you almost had me convinced. then i saw the last word. shit man. edicate? did you mean etiquette? are you gwb undercover?
Jul 29 2008
next sibling parent BCS <ao pathlink.com> writes:
Reply to superdan,

 you almost had me convinced. then i saw the last word. shit man.
 edicate? did you mean etiquette? are you gwb undercover?
 

Bad speling does not invalideat a point (ignoreing things like "this statemeant is speled corectly"). The only reson that bad speling wood make a diference is if the readar is incapeble of logikal though and asumes that if the righter can spel that the argumint is valod. Bad spelling does not invalidate a point (ignoring things like "this statement is spelled correctly"). The only reason that bad spelling would make a difference is if the reader is incapable of logical though and assumes that if the writer can spell that the argument is valid. QED
Jul 29 2008
prev sibling parent reply JAnderson <ask me.com> writes:
superdan wrote:
 JAnderson Wrote:
 
 superdan wrote:
 Jarrett Billingsley Wrote:
 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. 


In general I find it hard to read someone text if it has swearing all over it. I generally ignore those emails as I feel they have no valuable content and they make me feel sick. I don't want to be thinking about the bathroom while in technical discussions. If someone wants to be taken seriously they should try to at least communicate with proper edicate.

you almost had me convinced. then i saw the last word. edicate? did you mean etiquette? are you gwb undercover?

What if English was my second language? Would that invalidate my opinion? -Joel BTW: My first language is C++ followed by D, then English :)
Jul 31 2008
parent superdan <super dan.org> writes:
JAnderson Wrote:

 superdan wrote:
 JAnderson Wrote:
 
 superdan wrote:
 Jarrett Billingsley Wrote:
 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. 


In general I find it hard to read someone text if it has swearing all over it. I generally ignore those emails as I feel they have no valuable content and they make me feel sick. I don't want to be thinking about the bathroom while in technical discussions. If someone wants to be taken seriously they should try to at least communicate with proper edicate.

you almost had me convinced. then i saw the last word. edicate? did you mean etiquette? are you gwb undercover?

What if English was my second language? Would that invalidate my opinion? -Joel BTW: My first language is C++ followed by D, then English :)

odd. "edicate" is typical for americans who hear it and don't bother to spell it. foreigners usually spell properly. at any rate: spell checkers leave little room for excuse. until a good argument comes along, i'll continue making sailors cry.
Jul 31 2008
prev sibling parent reply "Chris R. Miller" <lordSaurontheGreat gmail.com> writes:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

JAnderson wrote:
 superdan wrote:
 Jarrett Billingsley Wrote:

 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=20
 internet just makes you seem like a 13-year-old boy.=20


I'm glad I'm not the only one. =20 In general I find it hard to read someone text if it has swearing all=20 over it. I generally ignore those emails as I feel they have no=20 valuable content and they make me feel sick. I don't want to be=20 thinking about the bathroom while in technical discussions. =20 If someone wants to be taken seriously they should try to at least=20 communicate with proper edicate.

Well if you're ______ity _____ cussing all the _____ time it makes your=20 _______ing messages so much _______ing longer it takes so ______ing long = to _______ing read them that I just _____ing ignore them.
Jul 29 2008
parent reply superdan <super dan.org> writes:
Chris R. Miller Wrote:

 JAnderson wrote:
 superdan wrote:
 Jarrett Billingsley Wrote:

 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. 


I'm glad I'm not the only one. In general I find it hard to read someone text if it has swearing all over it. I generally ignore those emails as I feel they have no valuable content and they make me feel sick. I don't want to be thinking about the bathroom while in technical discussions. If someone wants to be taken seriously they should try to at least communicate with proper edicate.

Well if you're ______ity _____ cussing all the _____ time it makes your _______ing messages so much _______ing longer it takes so ______ing long to _______ing read them that I just _____ing ignore them.

did you mean "your"?
Jul 29 2008
parent reply "Chris R. Miller" <lordSaurontheGreat gmail.com> writes:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

superdan wrote:
 Chris R. Miller Wrote:
=20
 JAnderson wrote:
 superdan wrote:
 Jarrett Billingsley Wrote:
 Please don't take this as an attack, I'm not trying to make you fee=





 like you're less of a member of the community.  Swearing on the=20
 internet just makes you seem like a 13-year-old boy.=20


In general I find it hard to read someone text if it has swearing all=



 over it.  I generally ignore those emails as I feel they have no=20
 valuable content and they make me feel sick.  I don't want to be=20
 thinking about the bathroom while in technical discussions.

 If someone wants to be taken seriously they should try to at least=20
 communicate with proper edicate.



 _______ing messages so much _______ing longer it takes so ______ing lo=


 to _______ing read them that I just _____ing ignore them.

did you mean "your"?

No, my grammar was correct. You're =3D you are (contraction), your =3D y= ou=20 (possessive). Perhaps you'd like to go play the part of a Grammar Nazi with the other=20 guys on irc.freenode.net/##English ?
Jul 29 2008
next sibling parent BCS <ao pathlink.com> writes:
Reply to Chris,

 superdan wrote:
 
 Chris R. Miller Wrote:
 
 Well if you're ______ity _____ cussing all the _____ time it makes
 your _______ing messages so much _______ing longer it takes so
 ______ing long to _______ing read them that I just _____ing ignore
 them.
 


you (possessive). Perhaps you'd like to go play the part of a Grammar Nazi with the other guys on irc.freenode.net/##English ?

to give him /some/ credit: I think, depending on what ______ and _____ is used, "your" and "you're" may both be correct. But who the _____* cares! * I can see it now, this thread will end in a post with nothing but _s and ' 's.
Jul 29 2008
prev sibling next sibling parent reply superdan <super dan.org> writes:
Chris R. Miller Wrote:

 superdan wrote:
 Chris R. Miller Wrote:
 
 JAnderson wrote:
 superdan wrote:
 Jarrett Billingsley Wrote:
 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. 


In general I find it hard to read someone text if it has swearing all over it. I generally ignore those emails as I feel they have no valuable content and they make me feel sick. I don't want to be thinking about the bathroom while in technical discussions. If someone wants to be taken seriously they should try to at least communicate with proper edicate.

_______ing messages so much _______ing longer it takes so ______ing long to _______ing read them that I just _____ing ignore them.

did you mean "your"?

No, my grammar was correct. You're = you are (contraction), your = you (possessive). Perhaps you'd like to go play the part of a Grammar Nazi with the other guys on irc.freenode.net/##English ?

it was a legit question, einstein. i couldn't figure out what "____ity" means. at any rate. if someone asks me to change my language, they'd be a lot more credible if they had theirs in good shape. cussing is a choice. "edicate" is ignorance.
Jul 29 2008
next sibling parent "Chris R. Miller" <lordSaurontheGreat gmail.com> writes:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

superdan wrote:
 Chris R. Miller Wrote:
=20
 superdan wrote:
 Chris R. Miller Wrote:

 JAnderson wrote:
 superdan wrote:
 Jarrett Billingsley Wrote:
 Please don't take this as an attack, I'm not trying to make you f=







 like you're less of a member of the community.  Swearing on the=20
 internet just makes you seem like a 13-year-old boy.=20


In general I find it hard to read someone text if it has swearing a=





 over it.  I generally ignore those emails as I feel they have no=20
 valuable content and they make me feel sick.  I don't want to be=20
 thinking about the bathroom while in technical discussions.

 If someone wants to be taken seriously they should try to at least =





 communicate with proper edicate.





 _______ing messages so much _______ing longer it takes so ______ing =




 to _______ing read them that I just _____ing ignore them.




 (possessive).

 Perhaps you'd like to go play the part of a Grammar Nazi with the othe=


 guys on irc.freenode.net/##English ?

it was a legit question, einstein. i couldn't figure out what "____ity"=

Fair enough.
 at any rate. if someone asks me to change my language, they'd be a lot =

cate" is ignorance. Cussing in a _public_ forum is absolutely intolerable. Savvy?
Jul 29 2008
prev sibling parent Yigal Chripun <yigal100 gmail.com> writes:
superdan wrote:
<snip/>
 
 it was a legit question, einstein. i couldn't figure out what
 "____ity" means.
 
 at any rate. if someone asks me to change my language, they'd be a
 lot more credible if they had theirs in good shape. cussing is a
 choice. "edicate" is ignorance.

I disagree. cussing shows lack of manners and lack of respect towards the people you try to communicate with. bad spelling can only show a lack of a spell checker. you forget that this is an international forum and so is most of the internet. Not all humanity is required to speak English, and even English speakers can make typos. I try to write in proper English (even though it's /not/ my native tongue) and I also run the spell checker because I respect the people of this forum. Certainly you can also show a little more respect towards the people here.
Aug 01 2008
prev sibling parent "Simen Kjaeraas" <simen.kjaras gmail.com> writes:
On Tue, 29 Jul 2008 23:47:41 +0200, BCS <ao pathlink.com> wrote:

 Reply to Chris,

 superdan wrote:

 Chris R. Miller Wrote:

 Well if you're ______ity _____ cussing all the _____ time it makes
 your _______ing messages so much _______ing longer it takes so
 ______ing long to _______ing read them that I just _____ing ignore
 them.


you (possessive). Perhaps you'd like to go play the part of a Grammar Nazi with the other guys on irc.freenode.net/##English ?

to give him /some/ credit: I think, depending on what ______ and _____ is used, "your" and "you're" may both be correct. But who the _____* cares! * I can see it now, this thread will end in a post with nothing but _s and ' 's.

___ _____ __! _____ __. ______ __ __ _____ __________________. -- Simen
Jul 29 2008