www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Why is array.reverse a property and not a method?

reply eris <jvburnes gmail.com> writes:
Andrei Alexandrescu Wrote:

 std.stdio -> std.io
 
 Rationale: stuttering sucks.
 

Absolutely.
 BidirectionalRange -> DoublyEndedRange
 
 Rationale: bidirectional suggests something that can move *in* either 
 direction, whereas in fact the range can be shortened from either end.

It's an improvement, but I believe the proper English prefix for something that is doubly-reflective in that sense is "Duplex". It's also easier and shorter to pronounce. Say it with me now: "DuplexRange" Keep up the awesome work Andre. BTW: D really needs some promotional work. Would there be any chance that you or Walter could give a talk at Google? A short presentation with a list of topics that could improve D would be great as a way to get Google Summer of Code resources allocated.
Jul 13 2010
next sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 07/13/2010 11:30 AM, eris wrote:
 Andrei Alexandrescu Wrote:

 std.stdio ->  std.io

 Rationale: stuttering sucks.

Absolutely.
 BidirectionalRange ->  DoublyEndedRange

 Rationale: bidirectional suggests something that can move *in*
 either direction, whereas in fact the range can be shortened from
 either end.

It's an improvement, but I believe the proper English prefix for something that is doubly-reflective in that sense is "Duplex". It's also easier and shorter to pronounce. Say it with me now: "DuplexRange" Keep up the awesome work Andre. BTW: D really needs some promotional work. Would there be any chance that you or Walter could give a talk at Google? A short presentation with a list of topics that could improve D would be great as a way to get Google Summer of Code resources allocated.

Google invited me for a talk via Benjamin Shropshire (thanks!). I am waiting for my manager's approval. Andrei
Jul 13 2010
prev sibling next sibling parent KennyTM~ <kennytm gmail.com> writes:
On Jul 14, 10 00:30, eris wrote:
 Andrei Alexandrescu Wrote:

 std.stdio ->  std.io

 Rationale: stuttering sucks.

Absolutely.
 BidirectionalRange ->  DoublyEndedRange

 Rationale: bidirectional suggests something that can move *in* either
 direction, whereas in fact the range can be shortened from either end.

It's an improvement, but I believe the proper English prefix for something that is doubly-reflective in that sense is "Duplex". It's also easier and shorter to pronounce. Say it with me now: "DuplexRange"

[bikeshed] When one say "duplex" it's usually associated with telecommunication (half-duplex/full-duplex) or printing (duplex = two-sided). And usually it's called "Double-ended" (as in Double-ended queue), not Doubly ended. [/bikeshed]
 Keep up the awesome work Andre.

 BTW: D really needs some promotional work.  Would there be any chance that you
or Walter could give a talk at Google?  A short presentation with a list of
topics that could improve D would be great as a way to get Google Summer of
Code resources allocated.

Jul 13 2010
prev sibling parent reply "Nick Sabalausky" <a a.a> writes:
"eris" <jvburnes gmail.com> wrote in message 
news:i1i4bs$1c0e$1 digitalmars.com...
 It's an improvement, but I believe the proper English prefix for something 
 that is doubly-reflective in that sense is "Duplex".  It's also easier and 
 shorter to pronounce.  Say it with me now:

 "DuplexRange"

I'm a native Englsh speaker, and if I saw something called "DuplexRange", my first thought would be "Wait, is that full-duplex or half-duplex?" But maybe that's just me :)
Jul 13 2010
next sibling parent reply eris <jvburnes gmail.com> writes:
Nick Sabalausky Wrote:

 "eris" <jvburnes gmail.com> wrote in message 
 news:i1i4bs$1c0e$1 digitalmars.com...
 It's an improvement, but I believe the proper English prefix for something 
 that is doubly-reflective in that sense is "Duplex".  It's also easier and 
 shorter to pronounce.  Say it with me now:

 "DuplexRange"

I'm a native Englsh speaker, and if I saw something called "DuplexRange", my first thought would be "Wait, is that full-duplex or half-duplex?" But maybe that's just me :)

Well everyone is going to have an opinion based on the usage of "Duplex" they are most familiar with. Full duplex is actually redundant. Duplex means double. Half-Duplex ironically just means single or more properly simplex. Duplex in comms means double ended communications or a communications channel that supports simultaneous communications in both directions. Duplex in printing means printing from both sides. I was just suggesting a neat and tidy term that when combined with Range means double-ended range. If this is not what is meant then by all means suggest a more proper term for double-ended or double sided. Could be there is a better term than any of those. eris
Jul 13 2010
parent Alix Pexton <alix.DOT.pexton gmail.DOT.com> writes:
On 13/07/2010 20:26, eris wrote:
 Nick Sabalausky Wrote:

 "eris"<jvburnes gmail.com>  wrote in message
 news:i1i4bs$1c0e$1 digitalmars.com...
 It's an improvement, but I believe the proper English prefix for something
 that is doubly-reflective in that sense is "Duplex".  It's also easier and
 shorter to pronounce.  Say it with me now:

 "DuplexRange"

I'm a native Englsh speaker, and if I saw something called "DuplexRange", my first thought would be "Wait, is that full-duplex or half-duplex?" But maybe that's just me :)

Well everyone is going to have an opinion based on the usage of "Duplex" they are most familiar with. Full duplex is actually redundant. Duplex means double. Half-Duplex ironically just means single or more properly simplex. Duplex in comms means double ended communications or a communications channel that supports simultaneous communications in both directions. Duplex in printing means printing from both sides. I was just suggesting a neat and tidy term that when combined with Range means double-ended range. If this is not what is meant then by all means suggest a more proper term for double-ended or double sided. Could be there is a better term than any of those. eris

To me, Half-Duplex != Simplex, as the former is two-way, but not simultaneously, as opposed to just single direction, but anyway... DuplexRange.vote++; A...
Jul 14 2010
prev sibling parent =?iso-8859-2?B?VG9tZWsgU293afFza2k=?= <just ask.me> writes:
Dnia 14-07-2010 o 13:32:44 Alix Pexton <alix.DOT.pexton gmail.dot.com>  =

napisa=B3(a):

 DuplexRange.vote++;

++vote And it's already used for with similar meaning: ...can communicate with one another in both directions. http://en.wikipedia.org/wiki/Duplex_(telecommunications) Tomek
Jul 23 2010