Thread overview | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
March 17, 2004 [VOTE]: Should the 'in/out/inout' parameter modifiers be changed to 'ref' | ||||
---|---|---|---|---|
| ||||
change the score when you reply: Aye: 1 Nay: 0 |
March 17, 2004 Re: [VOTE]: Should the 'in/out/inout' parameter modifiers be changed to 'ref' | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | In article <c3a1bu$2j8v$1@digitaldaemon.com>, imr1984 says... > >change the score when you reply: > >Aye: 1 >Nay: 0 > > Aye: 1 Nay: 1 -Jon |
March 17, 2004 Re: [VOTE]: Should the 'in/out/inout' parameter modifiers be changed to 'ref' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jon | On Wed, 17 Mar 2004 17:36:23 +0000 (UTC), Jon <Jon_member@pathlink.com> wrote: synchronized { Aye: 1 Nay: 2 } > In article <c3a1bu$2j8v$1@digitaldaemon.com>, imr1984 says... >> >> change the score when you reply: >> >> Aye: 1 >> Nay: 0 >> >> > > Aye: 1 > Nay: 1 > > -Jon -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ |
March 17, 2004 Re: [VOTE]: Should the 'in/out/inout' parameter modifiers be changed to 'ref' | ||||
---|---|---|---|---|
| ||||
Posted in reply to C | Aye: 1
Nay: 668
(i'm playing foreign games by my own rules and vote multiple times)
If they are changed, we will severely compromise the performance scalability of D to different systems! They will prove *very* useful as they are defined in a few years.
-eye
C schrieb:
> On Wed, 17 Mar 2004 17:36:23 +0000 (UTC), Jon <Jon_member@pathlink.com> wrote:
>
> synchronized {
>
> Aye: 1
> Nay: 2
>
> }
|
March 17, 2004 Re: [VOTE]: Should the 'in/out/inout' parameter modifiers be changed to 'ref' | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | imr1984 wrote: > change the score when you reply: > > Aye: 1 > Nay: 0 > > in/out/inout aid the programmer and possibly allow optimizations. But sometimes you only need an input or output reference depending on runtime values, that's there ref would come in handy. I think it would be nice to add it. -- Christopher E. Miller |
March 17, 2004 Re: [VOTE]: Should the 'in/out/inout' parameter modifiers be changed to 'ref' | ||||
---|---|---|---|---|
| ||||
Posted in reply to C | On Wed, 17 Mar 2004 11:58:03 -0800, C <dont@respond.com> wrote:
> On Wed, 17 Mar 2004 17:36:23 +0000 (UTC), Jon <Jon_member@pathlink.com> wrote:
>
> synchronized {
>
> Aye: 1
> Nay: 2
>
> }
>
>
>
Aye: 1
Nay: 3
|
March 17, 2004 Re: [VOTE]: Should the 'in/out/inout' parameter modifiers be changed to 'ref' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrew Edwards | I have to say nay, because I don't understand the point of the proposal. Please explain. synchronized { Aye: 1 Nay: 4 } "Andrew Edwards" <remove_ridimz@remove_yahoo.com> wrote in message news:opr40tpklzs6zaqn@news.digitalmars.com... > On Wed, 17 Mar 2004 11:58:03 -0800, C <dont@respond.com> wrote: > > > On Wed, 17 Mar 2004 17:36:23 +0000 (UTC), Jon <Jon_member@pathlink.com> > > wrote: > > > > synchronized { > > > > Aye: 1 > > Nay: 2 > > > > } > > > > > > > > Aye: 1 > Nay: 3 |
March 17, 2004 Re: [VOTE]: Should the 'in/out/inout' parameter modifiers be changed to 'ref' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vathix | Vathix schrieb:
> in/out/inout aid the programmer and possibly allow optimizations. But sometimes you only need an input or output reference depending on runtime values, that's there ref would come in handy. I think it would be nice to add it.
I simply don't get it what for??? We have inout. We have pointer. What else would be ref but an alias to inout????
-eye
|
March 18, 2004 Re: [VOTE]: Should the 'in/out/inout' parameter modifiers be changed to 'ref' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | No.
synchronized
{
Aye: 1
Nay: 5
}
I don't know what it is, but I doubt I'd like it.
--
Justin
http://jcc_7.tripod.com/d/
|
March 18, 2004 Re: [VOTE]: Should the 'in/out/inout' parameter modifiers be changed to 'ref' | ||||
---|---|---|---|---|
| ||||
Posted in reply to imr1984 | On Wed, 17 Mar 2004 17:19:58 +0000 (UTC) (18/Mar/04 04:19:58 AM) , imr1984 <imr1984_member@pathlink.com> wrote: > change the score when you reply: > > Aye: 1 > Nay: 0 > > My vote: No. Reasons: (a) 'in', 'out', and 'inout' all mean different things and a single 'ref' keyword cannot replace all their meanings. (b) By using explicit keywords, the intentions of the coder are more obvious to the reader. (c) Using keywords for each case makes the code more 'grepable'. -- Derek |
Copyright © 1999-2021 by the D Language Foundation